Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001291/0.001291, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001471/0.001471, allocations: 212 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2265/0.2265, allocations: 44.91 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 63.91 kB / 0.4931 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3481, allocations: 65.48 MB / 0.557 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1825/0.5306, allocations: 152.9 MB / 0.7064 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.5327, allocations: 1.608 MB / 0.7079 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.17e-05/0.5328, allocations: 0 / 0.7079 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.5331, allocations: 47.73 kB / 0.708 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009533/0.5341, allocations: 417.9 kB / 0.7084 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.5345, allocations: 175.4 kB / 0.7085 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000265/0.5348, allocations: 191.2 kB / 0.7087 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.5348, allocations: 7.938 kB / 0.7087 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.535, allocations: 87.62 kB / 0.7088 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.5351, allocations: 59.81 kB / 0.7089 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.5351, allocations: 11.94 kB / 0.7089 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.5363, allocations: 0.6314 MB / 0.7095 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.5363, allocations: 31.89 kB / 0.7095 GB, free: 11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.5364, allocations: 47.8 kB / 0.7096 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006305/0.537, allocations: 408.9 kB / 0.71 GB, free: 10.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.537, allocations: 3.938 kB / 0.71 GB, free: 10.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.537, allocations: 0 / 0.71 GB, free: 10.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.5371, allocations: 0 / 0.71 GB, free: 10.55 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005585/0.5376, allocations: 365.8 kB / 0.7103 GB, free: 10.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.5377, allocations: 8.031 kB / 0.7103 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.5377, allocations: 42.73 kB / 0.7104 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/0.5398, allocations: 196.6 kB / 0.7106 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.5401, allocations: 161.8 kB / 0.7107 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.5401, allocations: 8 kB / 0.7107 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.5402, allocations: 12 kB / 0.7107 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/0.5406, allocations: 197.5 kB / 0.7109 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5406, allocations: 3.938 kB / 0.7109 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.5407, allocations: 7.938 kB / 0.7109 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.5407, allocations: 4 kB / 0.7109 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005785/0.5413, allocations: 231.8 kB / 0.7112 GB, free: 9.266 MB / 0.545 GB 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.001713/0.543, allocations: 0.6057 MB / 0.7117 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.5434, allocations: 182.4 kB / 0.7119 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.5436, allocations: 92.81 kB / 0.712 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.5437, allocations: 19.97 kB / 0.712 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.5438, allocations: 30.56 kB / 0.7121 GB, free: 8.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.5438, allocations: 0 / 0.7121 GB, free: 8.277 MB / 0.545 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005726/0.5495, allocations: 1.396 MB / 0.7134 GB, free: 6.809 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.5495, allocations: 59.39 kB / 0.7135 GB, free: 6.738 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.452e-05/0.5496, allocations: 109.8 kB / 0.7136 GB, free: 6.621 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.5497, allocations: 29.7 kB / 0.7136 GB, free: 6.586 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.5497, allocations: 104.3 kB / 0.7137 GB, free: 6.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.5498, allocations: 71.42 kB / 0.7138 GB, free: 6.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.5499, allocations: 41.7 kB / 0.7138 GB, free: 6.363 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.5501, allocations: 322.8 kB / 0.7141 GB, free: 6.039 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.5503, allocations: 95.83 kB / 0.7142 GB, free: 5.945 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.5505, allocations: 127 kB / 0.7143 GB, free: 5.812 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.551, allocations: 227.2 kB / 0.7146 GB, free: 5.578 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.551, allocations: 4 kB / 0.7146 GB, free: 5.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006263/0.5516, allocations: 281.1 kB / 0.7148 GB, free: 5.293 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5516, allocations: 11.98 kB / 0.7148 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5516, allocations: 0 / 0.7148 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000141/0.5518, allocations: 24.84 kB / 0.7149 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.5523, allocations: 55.91 kB / 0.7149 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000397/0.5526, allocations: 0.5368 MB / 0.7154 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.5529, allocations: 12.02 kB / 0.7155 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.553, allocations: 12 kB / 0.7155 GB, free: 4.613 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.5531, allocations: 121.8 kB / 0.7156 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.5532, allocations: 11.95 kB / 0.7156 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007723/0.5539, allocations: 317.1 kB / 0.7159 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.5539, allocations: 7.984 kB / 0.7159 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.554, allocations: 0 / 0.7159 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.554, allocations: 0 / 0.7159 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.5551, allocations: 0.6474 MB / 0.7165 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.5551, allocations: 4 kB / 0.7165 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/0.5556, allocations: 47.95 kB / 0.7166 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.208e-05/0.5556, allocations: 24.94 kB / 0.7166 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.5557, allocations: 4 kB / 0.7166 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009964/0.5567, allocations: 1.267 MB / 0.7178 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.5567, allocations: 7.969 kB / 0.7179 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008491/0.5575, allocations: 442.8 kB / 0.7183 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.5575, allocations: 7.984 kB / 0.7183 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.5576, allocations: 8 kB / 0.7183 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.5579, allocations: 11.98 kB / 0.7183 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.558, allocations: 19.91 kB / 0.7183 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.558, allocations: 20.05 kB / 0.7183 GB, free: 1.438 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.077e-05/0.5581, allocations: 95.47 kB / 0.7184 GB, free: 1.344 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.5581, allocations: 0 / 0.7184 GB, free: 1.344 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005564/0.5586, allocations: 135.7 kB / 0.7186 GB, free: 1.211 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (19): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 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.00176/0.5604, allocations: 1.143 MB / 0.7197 GB, free: 32 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006661/0.561, allocations: 227.7 kB / 0.7199 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.561, allocations: 0 / 0.7199 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004342/0.5615, allocations: 233.4 kB / 0.7201 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.5619, allocations: 48.17 kB / 0.7202 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.5651, allocations: 2.121 MB / 0.7222 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.5654, allocations: 0.7125 MB / 0.7229 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002906/0.5657, allocations: 61.33 kB / 0.723 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.5658, allocations: 35.42 kB / 0.723 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.5658, allocations: 7.938 kB / 0.723 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.6036, allocations: 8.178 MB / 0.731 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.58, allocations: 7.031 kB / 0.731 GB, free: 4.387 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.840359390997037]