Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.001151/0.001151, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001004/0.001004, allocations: 170.5 kB / 25.61 MB, free: 8.914 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.938/0.938, allocations: 177.2 MB / 206.1 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] 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.1336/0.1336, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 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: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.874e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.007872/0.00789, allocations: 11.17 MB / 388.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0072/0.01509, allocations: 11.59 MB / 400.1 MB, free: 2.719 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.01525, allocations: 3.938 kB / 400.1 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.01563, allocations: 71.52 kB / 400.1 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006971/0.0226, allocations: 3.204 MB / 403.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.02287, allocations: 155.7 kB / 403.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003823/0.02669, allocations: 4.053 MB / 407.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.02675, allocations: 16.58 kB / 407.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.02695, allocations: 203.5 kB / 407.8 MB, free: 11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005935/0.03288, allocations: 7.344 MB / 415.1 MB, free: 3.645 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.03291, allocations: 8 kB / 415.1 MB, free: 3.637 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/0.03628, allocations: 2.024 MB / 417.1 MB, free: 1.609 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.153e-05/0.03635, allocations: 43.77 kB / 417.2 MB, free: 1.566 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.457e-05/0.03644, allocations: 99.75 kB / 417.3 MB, free: 1.469 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.03871, allocations: 1.757 MB / 419 MB, free: 15.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.03871, allocations: 0 / 419 MB, free: 15.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.03872, allocations: 0 / 419 MB, free: 15.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.03872, allocations: 0 / 419 MB, free: 15.71 MB / 346.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.001335/0.04006, allocations: 0.9579 MB / 420 MB, free: 14.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.0401, allocations: 15.98 kB / 420 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000412/0.04051, allocations: 152.3 kB / 420.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.04073, allocations: 192.2 kB / 420.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.04075, allocations: 21.03 kB / 420.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.04078, allocations: 28.38 kB / 420.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.04131, allocations: 447.9 kB / 420.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.04132, allocations: 192 / 420.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.04135, allocations: 20.12 kB / 420.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.04136, allocations: 8 kB / 420.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004717/0.04183, allocations: 396.9 kB / 421.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003008/0.04484, allocations: 2.803 MB / 424.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.04517, allocations: 179.8 kB / 424.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/0.04522, allocations: 56.2 kB / 424.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03303/0.07825, allocations: 19.63 MB / 443.9 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005038/0.07876, allocations: 373.2 kB / 444.3 MB, free: 6.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.683e-06/0.07876, allocations: 4 kB / 444.3 MB, free: 6.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.001583/0.08034, allocations: 0.6934 MB / 445 MB, free: 5.418 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.08048, allocations: 482.6 kB / 445.4 MB, free: 4.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.08059, allocations: 221.7 kB / 445.7 MB, free: 4.605 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.08061, allocations: 29.7 kB / 445.7 MB, free: 4.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.0807, allocations: 223 kB / 445.9 MB, free: 4.348 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.762e-05/0.08076, allocations: 134.8 kB / 446 MB, free: 4.215 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.648e-05/0.08085, allocations: 107.7 kB / 446.1 MB, free: 4.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.08097, allocations: 0.5078 MB / 446.7 MB, free: 3.578 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.273e-05/0.08103, allocations: 52.89 kB / 446.7 MB, free: 3.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.08143, allocations: 397 kB / 447.1 MB, free: 2.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.08174, allocations: 0.4959 MB / 447.6 MB, free: 2.324 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.08174, allocations: 4 kB / 447.6 MB, free: 2.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004188/0.08216, allocations: 405 kB / 448 MB, free: 1.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/0.08218, allocations: 12 kB / 448 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.0822, allocations: 11.94 kB / 448 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009559/0.08315, allocations: 319 kB / 448.3 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.08332, allocations: 107.8 kB / 448.4 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005997/0.08392, allocations: 1.833 MB / 450.3 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.08403, allocations: 15.94 kB / 450.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.08406, allocations: 28 kB / 450.3 MB, free: 15.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.08418, allocations: 200.4 kB / 450.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.08424, allocations: 43.8 kB / 450.5 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006708/0.08491, allocations: 0.7898 MB / 451.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.08492, allocations: 12.02 kB / 451.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.08492, allocations: 4 kB / 451.4 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.08493, allocations: 0 / 451.4 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007018/0.08563, allocations: 0.8788 MB / 452.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.08564, allocations: 0 / 452.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.167e-05/0.08572, allocations: 51.91 kB / 452.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005849/0.0863, allocations: 215.2 kB / 452.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.08631, allocations: 8 kB / 452.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006814/0.087, allocations: 1.814 MB / 454.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.087, allocations: 7.938 kB / 454.3 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.08739, allocations: 0.5449 MB / 454.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.08742, allocations: 27.8 kB / 454.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.08746, allocations: 43.62 kB / 454.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.08758, allocations: 16.08 kB / 455 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.08761, allocations: 23.91 kB / 455 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.08762, allocations: 11.98 kB / 455 MB, free: 10.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.08778, allocations: 291 kB / 455.3 MB, free: 10.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08778, allocations: 4.031 kB / 455.3 MB, free: 10.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009482/0.08873, allocations: 446.6 kB / 455.7 MB, free: 9.871 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009449/0.08968, allocations: 0.7277 MB / 456.4 MB, free: 9.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003409/0.09002, allocations: 305.8 kB / 456.7 MB, free: 8.824 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.09002, allocations: 0 / 456.7 MB, free: 8.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.09015, allocations: 158.6 kB / 456.9 MB, free: 8.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.09063, allocations: 166 kB / 457.1 MB, free: 8.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7961/0.8868, allocations: 0.4932 GB / 0.9395 GB, free: 51.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.8869, allocations: 114.4 kB / 0.9396 GB, free: 51.69 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003142/0.8872, allocations: 160.8 kB / 0.9398 GB, free: 51.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.8873, allocations: 162.1 kB / 0.9399 GB, free: 51.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/0.8873, allocations: 0 / 0.9399 GB, free: 51.4 MB / 458.7 MB Notification: Performance of Templates: time 0.01758/0.9049, allocations: 18.61 MB / 0.9581 GB, free: 33.07 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.184634083881974]