Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008978/0.0008978, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9023/0.9023, allocations: 177 MB / 204.1 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2581/0.2581, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.167e-05, allocations: 2.281 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3117/0.3117, allocations: 130.2 MB / 0.5589 GB, free: 14.31 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.005992/0.3177, allocations: 5.17 MB / 0.564 GB, free: 9.129 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006776/0.3183, allocations: 27.75 kB / 0.564 GB, free: 9.102 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008732/0.3192, allocations: 321.8 kB / 0.5643 GB, free: 8.785 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.3209, allocations: 0.9127 MB / 0.5652 GB, free: 7.867 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.3233, allocations: 1.077 MB / 0.5663 GB, free: 6.801 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002501/0.3258, allocations: 1.836 MB / 0.5681 GB, free: 4.961 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000627/0.3265, allocations: 398.6 kB / 0.5684 GB, free: 4.566 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.3278, allocations: 0.9965 MB / 0.5694 GB, free: 3.57 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008499/0.3287, allocations: 0.7013 MB / 0.5701 GB, free: 2.867 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-05/0.3288, allocations: 60 kB / 0.5702 GB, free: 2.809 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009646/0.3297, allocations: 494.9 kB / 0.5706 GB, free: 2.324 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.33, allocations: 287.1 kB / 0.5709 GB, free: 2.043 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.3302, allocations: 287.3 kB / 0.5712 GB, free: 1.762 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.3316, allocations: 1.196 MB / 0.5723 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3316, allocations: 8 kB / 0.5724 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3316, allocations: 0 / 0.5724 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.3316, allocations: 0 / 0.5724 GB, free: 0.5547 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001802/0.3334, allocations: 0.9949 MB / 0.5733 GB, free: 15.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.3335, allocations: 12.03 kB / 0.5733 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.3336, allocations: 98.69 kB / 0.5734 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.3339, allocations: 96.39 kB / 0.5735 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.335, allocations: 485.9 kB / 0.574 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.3352, allocations: 160.3 kB / 0.5741 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/0.3353, allocations: 44.38 kB / 0.5742 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.3363, allocations: 1.142 MB / 0.5753 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.3363, allocations: 7.875 kB / 0.5753 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.3363, allocations: 27.98 kB / 0.5753 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/0.3364, allocations: 32.98 kB / 0.5754 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006964/0.3371, allocations: 0.6518 MB / 0.576 GB, free: 12.59 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/0.3402, allocations: 3.14 MB / 0.5791 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.3409, allocations: 415 kB / 0.5795 GB, free: 8.926 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.3411, allocations: 196.9 kB / 0.5797 GB, free: 8.734 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.3413, allocations: 60.28 kB / 0.5797 GB, free: 8.676 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.3413, allocations: 42.88 kB / 0.5797 GB, free: 8.625 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 3.396e-06/0.3413, allocations: 0 / 0.5797 GB, free: 8.625 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.002553/0.3439, allocations: 1.402 MB / 0.5811 GB, free: 7.188 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.3439, allocations: 132.5 kB / 0.5812 GB, free: 7.027 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.3444, allocations: 0.5848 MB / 0.5818 GB, free: 6.434 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.3445, allocations: 33.7 kB / 0.5818 GB, free: 6.395 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.3446, allocations: 363.9 kB / 0.5822 GB, free: 6.035 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.713e-05/0.3447, allocations: 170.5 kB / 0.5824 GB, free: 5.867 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.3449, allocations: 142.6 kB / 0.5825 GB, free: 5.723 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.345, allocations: 375.4 kB / 0.5829 GB, free: 5.348 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.3453, allocations: 217.9 kB / 0.5831 GB, free: 5.133 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.3457, allocations: 0.5884 MB / 0.5836 GB, free: 4.387 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007495/0.3465, allocations: 0.765 MB / 0.5844 GB, free: 3.492 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3465, allocations: 0 / 0.5844 GB, free: 3.492 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001152/0.3476, allocations: 0.9066 MB / 0.5853 GB, free: 2.578 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.3476, allocations: 8 kB / 0.5853 GB, free: 2.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.3477, allocations: 12.83 kB / 0.5853 GB, free: 2.559 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007966/0.3484, allocations: 293.1 kB / 0.5856 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.3487, allocations: 119.8 kB / 0.5857 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007342/0.3494, allocations: 0.8822 MB / 0.5865 GB, free: 1.246 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.3497, allocations: 28 kB / 0.5866 GB, free: 1.219 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/0.3498, allocations: 39.98 kB / 0.5866 GB, free: 1.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003217/0.3501, allocations: 241.5 kB / 0.5868 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/0.3502, allocations: 74.34 kB / 0.5869 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.3515, allocations: 0.7031 MB / 0.5876 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.3515, allocations: 4 kB / 0.5876 GB, free: 152 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.3515, allocations: 0 / 0.5876 GB, free: 152 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3515, allocations: 0 / 0.5876 GB, free: 152 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.3529, allocations: 1.247 MB / 0.5888 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.3529, allocations: 4 kB / 0.5888 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/0.3534, allocations: 199.8 kB / 0.589 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.367e-05/0.3535, allocations: 21.03 kB / 0.589 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.3535, allocations: 16 kB / 0.589 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.3549, allocations: 2.663 MB / 0.5916 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3549, allocations: 4.031 kB / 0.5917 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009583/0.3559, allocations: 0.9404 MB / 0.5926 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.3561, allocations: 127.5 kB / 0.5927 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.3561, allocations: 19.98 kB / 0.5927 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.3563, allocations: 12 kB / 0.5927 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.3564, allocations: 39.88 kB / 0.5928 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.3565, allocations: 31.91 kB / 0.5928 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003579/0.3568, allocations: 427.2 kB / 0.5932 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.3568, allocations: 4 kB / 0.5932 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000611/0.3574, allocations: 223.8 kB / 0.5934 GB, free: 9.871 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001844/0.3593, allocations: 1.631 MB / 0.595 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.3603, allocations: 0.5831 MB / 0.5956 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3603, allocations: 1.5 kB / 0.5956 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006457/0.3609, allocations: 442.6 kB / 0.596 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.362, allocations: 383.2 kB / 0.5964 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00711/0.3691, allocations: 6.412 MB / 0.6026 GB, free: 24 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.3694, allocations: 337.4 kB / 0.6029 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005406/0.3699, allocations: 211.5 kB / 0.6032 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.3701, allocations: 240.4 kB / 0.6034 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/0.3701, allocations: 0 / 0.6034 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04373/0.4139, allocations: 24.11 MB / 0.6269 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.677/9.09, allocations: 15.58 kB / 0.6269 GB, free: 7.461 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.39525954797864]