Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009309/0.0009309, allocations: 83.7 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008753/0.0008753, allocations: 173.3 kB / 23.95 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8795/0.8795, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.518e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.00401/0.004035, allocations: 2.797 MB / 327.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.005273, allocations: 0.7361 MB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.005414, allocations: 11.94 kB / 328.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.005562, allocations: 51.5 kB / 328.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.00571, allocations: 115 kB / 328.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.005994, allocations: 103.7 kB / 328.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.006294, allocations: 437.7 kB / 328.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.006445, allocations: 67.64 kB / 328.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.0067, allocations: 235.5 kB / 329.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.006812, allocations: 119.7 kB / 329.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.00685, allocations: 32 kB / 329.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.073e-05/0.006911, allocations: 40 kB / 329.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.006952, allocations: 79.66 kB / 329.4 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.007031, allocations: 119.7 kB / 329.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.007334, allocations: 406.7 kB / 329.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.007337, allocations: 0 / 329.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.007339, allocations: 0 / 329.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.007345, allocations: 0 / 329.9 MB, free: 10.58 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0006392/0.007984, allocations: 0.5704 MB / 330.5 MB, free: 9.984 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.00802, allocations: 12.03 kB / 330.5 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.00807, allocations: 62.72 kB / 330.5 MB, free: 9.902 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.008193, allocations: 52.69 kB / 330.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.008468, allocations: 225.1 kB / 330.8 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.008485, allocations: 21.03 kB / 330.8 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.008511, allocations: 28.38 kB / 330.9 MB, free: 9.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.008882, allocations: 412.8 kB / 331.3 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.00889, allocations: 192 / 331.3 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.008913, allocations: 16.12 kB / 331.3 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.00892, allocations: 4 kB / 331.3 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.009205, allocations: 222.5 kB / 331.5 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009836/0.01019, allocations: 0.8524 MB / 332.4 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.01051, allocations: 210.6 kB / 332.6 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.01065, allocations: 100.8 kB / 332.7 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.01066, allocations: 0 / 332.7 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.01068, allocations: 34.56 kB / 332.7 MB, free: 7.598 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.01068, allocations: 0 / 332.7 MB, free: 7.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007088/0.01139, allocations: 418.1 kB / 333.1 MB, free: 7.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.01142, allocations: 63.28 kB / 333.2 MB, free: 7.105 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.01161, allocations: 261.9 kB / 333.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.01163, allocations: 33.7 kB / 333.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/0.01171, allocations: 188.1 kB / 333.6 MB, free: 6.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.01175, allocations: 71.39 kB / 333.7 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.01181, allocations: 41.94 kB / 333.7 MB, free: 6.496 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.043e-05/0.01189, allocations: 334.8 kB / 334.1 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.012, allocations: 80.42 kB / 334.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.01212, allocations: 112.3 kB / 334.3 MB, free: 5.965 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.01235, allocations: 183.1 kB / 334.4 MB, free: 5.777 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.01235, allocations: 0 / 334.4 MB, free: 5.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003752/0.01272, allocations: 322.8 kB / 334.8 MB, free: 5.449 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01274, allocations: 7.938 kB / 334.8 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01274, allocations: 0 / 334.8 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.01292, allocations: 77.73 kB / 334.8 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.01303, allocations: 39.91 kB / 334.9 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.01451, allocations: 2.829 MB / 337.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.757e-05/0.01461, allocations: 31.94 kB / 337.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.01462, allocations: 11.98 kB / 337.7 MB, free: 2.219 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.874e-05/0.01472, allocations: 137.8 kB / 337.9 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.01475, allocations: 31.8 kB / 337.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.01478, allocations: 30.27 kB / 337.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.01478, allocations: 0 / 337.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01478, allocations: 4 kB / 337.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01479, allocations: 0 / 337.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.01541, allocations: 0.6241 MB / 338.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01541, allocations: 0 / 338.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-05/0.01548, allocations: 27.97 kB / 338.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.0156, allocations: 77.61 kB / 338.7 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01561, allocations: 4 kB / 338.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.01695, allocations: 2.81 MB / 341.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.01695, allocations: 12.06 kB / 341.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.0173, allocations: 380.6 kB / 341.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.01733, allocations: 31.78 kB / 341.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.01734, allocations: 0 / 341.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.01747, allocations: 31.98 kB / 341.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.01753, allocations: 23.95 kB / 342 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.01754, allocations: 4 kB / 342 MB, free: 13.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.01766, allocations: 193.2 kB / 342.1 MB, free: 13.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01766, allocations: 0 / 342.1 MB, free: 13.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002726/0.01793, allocations: 95.84 kB / 342.2 MB, free: 13.39 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005463/0.01848, allocations: 0.909 MB / 343.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004834/0.01896, allocations: 452.9 kB / 343.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.01897, allocations: 4 kB / 343.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.01919, allocations: 340.4 kB / 343.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.01947, allocations: 48.59 kB / 344 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.02177, allocations: 2.69 MB / 346.7 MB, free: 8.773 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.02187, allocations: 163.5 kB / 346.8 MB, free: 8.594 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.813e-05/0.02196, allocations: 30.22 kB / 346.9 MB, free: 8.559 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.283e-05/0.02205, allocations: 92.47 kB / 346.9 MB, free: 8.469 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02206, allocations: 0 / 346.9 MB, free: 8.469 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.04757, allocations: 7.531 MB / 354.5 MB, free: 1.145 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.235, allocations: 10.81 kB / 354.5 MB, free: 1.137 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowVariableResistor.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable VariableResistor.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv. Warning: Get data of variable VariableResistor.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv failed! Error: Could not read variable R2.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv. Warning: Get data of variable R2.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.010449128225446]