Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001359/0.001359, allocations: 121 kB / 18.49 MB, free: 4.586 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.0014/0.0014, allocations: 213.5 kB / 21.45 MB, free: 1.637 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.493/1.493, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2389/0.2389, allocations: 46.92 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 71.89 kB / 0.4916 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1307, allocations: 66 MB / 0.556 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4477/0.5784, allocations: 152.9 MB / 0.7054 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.5805, allocations: 1.598 MB / 0.7069 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.5805, allocations: 0 / 0.7069 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.5808, allocations: 55.72 kB / 0.707 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0009617/0.5818, allocations: 410.1 kB / 0.7074 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.5823, allocations: 165.4 kB / 0.7075 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000261/0.5826, allocations: 187.2 kB / 0.7077 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.5826, allocations: 4 kB / 0.7077 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.5828, allocations: 79.69 kB / 0.7078 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.5829, allocations: 63.75 kB / 0.7078 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.5829, allocations: 4 kB / 0.7079 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.5841, allocations: 0.6236 MB / 0.7085 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.5841, allocations: 35.89 kB / 0.7085 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.688e-05/0.5842, allocations: 43.8 kB / 0.7085 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006107/0.5848, allocations: 414.4 kB / 0.7089 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5848, allocations: 0 / 0.7089 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5848, allocations: 0 / 0.7089 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.5848, allocations: 0 / 0.7089 GB, free: 5.02 MB / 0.5137 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.0006355/0.5854, allocations: 434.9 kB / 0.7093 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.5855, allocations: 12.03 kB / 0.7094 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.167e-05/0.5855, allocations: 4.375 kB / 0.7094 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.5855, allocations: 42.73 kB / 0.7094 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/0.5878, allocations: 197.1 kB / 0.7096 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.5882, allocations: 211.5 kB / 0.7098 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.5882, allocations: 8 kB / 0.7098 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.5882, allocations: 12 kB / 0.7098 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/0.5887, allocations: 202.3 kB / 0.71 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.5887, allocations: 0 / 0.71 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.5888, allocations: 7.938 kB / 0.71 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.5888, allocations: 7.938 kB / 0.71 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006224/0.5894, allocations: 235.8 kB / 0.7102 GB, free: 3.574 MB / 0.5137 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.001828/0.5912, allocations: 0.6644 MB / 0.7109 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.5917, allocations: 185.9 kB / 0.7111 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.5919, allocations: 92.81 kB / 0.7112 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.5921, allocations: 101.1 kB / 0.7113 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.5922, allocations: 30.56 kB / 0.7113 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.5922, allocations: 0 / 0.7113 GB, free: 2.418 MB / 0.5137 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.006289/0.5984, allocations: 1.535 MB / 0.7128 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.5985, allocations: 51.41 kB / 0.7128 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.5986, allocations: 117.8 kB / 0.7129 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.5986, allocations: 25.7 kB / 0.713 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.5987, allocations: 100.4 kB / 0.7131 GB, free: 468 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-05/0.5988, allocations: 75.41 kB / 0.7131 GB, free: 392 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.5989, allocations: 45.7 kB / 0.7132 GB, free: 340 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5991, allocations: 318.8 kB / 0.7135 GB, free: 12 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.5993, allocations: 87.95 kB / 0.7136 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.5996, allocations: 123.4 kB / 0.7137 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.6001, allocations: 230.4 kB / 0.7139 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6001, allocations: 0 / 0.7139 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006687/0.6008, allocations: 290.2 kB / 0.7142 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.6008, allocations: 11.98 kB / 0.7142 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6008, allocations: 0 / 0.7142 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.6009, allocations: 24.84 kB / 0.7142 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/0.6014, allocations: 52.41 kB / 0.7143 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004243/0.6019, allocations: 0.5407 MB / 0.7148 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.6022, allocations: 11.98 kB / 0.7148 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.6022, allocations: 7.938 kB / 0.7148 GB, free: 14.59 MB / 0.5294 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.0001412/0.6023, allocations: 128 kB / 0.7149 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.6024, allocations: 11.89 kB / 0.7149 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000783/0.6032, allocations: 324.6 kB / 0.7153 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6032, allocations: 0 / 0.7153 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.6032, allocations: 4 kB / 0.7153 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.6032, allocations: 0 / 0.7153 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.6044, allocations: 0.668 MB / 0.7159 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6044, allocations: 3.938 kB / 0.7159 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004769/0.6049, allocations: 51.95 kB / 0.716 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.9e-05/0.6049, allocations: 20.84 kB / 0.716 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.605, allocations: 8.094 kB / 0.716 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.606, allocations: 1.372 MB / 0.7173 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.606, allocations: 3.984 kB / 0.7173 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008805/0.6069, allocations: 455.9 kB / 0.7178 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.607, allocations: 85.05 kB / 0.7179 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.607, allocations: 8 kB / 0.7179 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.6073, allocations: 4 kB / 0.7179 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.6074, allocations: 19.97 kB / 0.7179 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.6074, allocations: 8 kB / 0.7179 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.953e-05/0.6075, allocations: 95.33 kB / 0.718 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6075, allocations: 0 / 0.718 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005423/0.608, allocations: 139.6 kB / 0.7181 GB, free: 10.93 MB / 0.5294 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.001736/0.6097, allocations: 1.15 MB / 0.7192 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006331/0.6104, allocations: 226.9 kB / 0.7195 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6104, allocations: 4 kB / 0.7195 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004149/0.6108, allocations: 230.9 kB / 0.7197 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.6112, allocations: 41.09 kB / 0.7197 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.6144, allocations: 2.126 MB / 0.7218 GB, free: 7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.6147, allocations: 0.7124 MB / 0.7225 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002689/0.615, allocations: 57.77 kB / 0.7225 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.6151, allocations: 39.41 kB / 0.7226 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.6151, allocations: 0 / 0.7226 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.6448, allocations: 8.039 MB / 0.7304 GB, free: 14.26 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.87, allocations: 18.58 kB / 0.7305 GB, free: 14.25 MB / 0.545 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.08781217003707]