Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.001316/0.001316, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001021/0.001021, allocations: 165 kB / 24.56 MB, free: 8 kB / 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 1.022/1.022, allocations: 177.2 MB / 205 MB, free: 5.633 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.2701/0.2701, allocations: 32.81 MB / 294.3 MB, free: 1.203 MB / 266.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_ph,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_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.618e-05, allocations: 2.312 kB / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.009828/0.009854, allocations: 11.29 MB / 387.4 MB, free: 9.246 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008433/0.01829, allocations: 11.76 MB / 399.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.01842, allocations: 0 / 399.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.01873, allocations: 75.45 kB / 399.2 MB, free: 13.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007894/0.02662, allocations: 3.205 MB / 402.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.02693, allocations: 155.7 kB / 402.6 MB, free: 9.996 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00379/0.03072, allocations: 4.056 MB / 406.6 MB, free: 5.934 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.03078, allocations: 16.58 kB / 406.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.031, allocations: 199.5 kB / 406.8 MB, free: 5.719 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006061/0.03706, allocations: 7.348 MB / 414.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.03712, allocations: 8 kB / 414.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004122/0.04124, allocations: 2.044 MB / 416.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.832e-05/0.04132, allocations: 47.75 kB / 416.3 MB, free: 12.26 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.04143, allocations: 95.77 kB / 416.4 MB, free: 12.17 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.04443, allocations: 1.757 MB / 418.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.04443, allocations: 4 kB / 418.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.04444, allocations: 0 / 418.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.934e-06/0.04444, allocations: 0 / 418.1 MB, free: 10.4 MB / 394.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.001672/0.04612, allocations: 0.9579 MB / 419.1 MB, free: 9.406 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.04616, allocations: 16.03 kB / 419.1 MB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004777/0.04664, allocations: 148.3 kB / 419.2 MB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.04688, allocations: 192.3 kB / 419.4 MB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.0469, allocations: 28.91 kB / 419.5 MB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.04693, allocations: 32.36 kB / 419.5 MB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.04755, allocations: 468 kB / 420 MB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.04756, allocations: 192 / 420 MB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.04759, allocations: 16.12 kB / 420 MB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.0476, allocations: 8 kB / 420 MB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/0.04818, allocations: 470.4 kB / 420.4 MB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003697/0.05187, allocations: 3.211 MB / 423.6 MB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.0522, allocations: 151.6 kB / 423.8 MB, free: 4.523 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.605e-05/0.05227, allocations: 56.36 kB / 423.8 MB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/0.06357, allocations: 7.802 MB / 431.6 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004581/0.06402, allocations: 363.7 kB / 432 MB, free: 12.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/0.06403, allocations: 0 / 432 MB, free: 12.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008765/0.0649, allocations: 454.4 kB / 432.4 MB, free: 11.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/0.06506, allocations: 482.6 kB / 432.9 MB, free: 11.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.06521, allocations: 250.1 kB / 433.2 MB, free: 10.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.06523, allocations: 33.7 kB / 433.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.06533, allocations: 246.9 kB / 433.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.493e-05/0.06539, allocations: 107.2 kB / 433.5 MB, free: 10.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.06548, allocations: 99.78 kB / 433.6 MB, free: 10.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.0656, allocations: 0.5001 MB / 434.1 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.06567, allocations: 52.89 kB / 434.2 MB, free: 9.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.06589, allocations: 413.6 kB / 434.6 MB, free: 9.266 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.06626, allocations: 0.4996 MB / 435.1 MB, free: 8.602 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.06627, allocations: 0 / 435.1 MB, free: 8.602 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004545/0.06672, allocations: 397.6 kB / 435.5 MB, free: 8.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.06674, allocations: 12.03 kB / 435.5 MB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.06675, allocations: 8 kB / 435.5 MB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.06677, allocations: 12 kB / 435.5 MB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.06697, allocations: 107.8 kB / 435.6 MB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.06698, allocations: 23.86 kB / 435.6 MB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.06713, allocations: 47.62 kB / 435.7 MB, free: 8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.06716, allocations: 32 kB / 435.7 MB, free: 7.969 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.06728, allocations: 196.3 kB / 435.9 MB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.06734, allocations: 39.84 kB / 436 MB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006107/0.06795, allocations: 0.649 MB / 436.6 MB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.06796, allocations: 12.2 kB / 436.6 MB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.06796, allocations: 7.938 kB / 436.6 MB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.06797, allocations: 0 / 436.6 MB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006769/0.06865, allocations: 0.7613 MB / 437.4 MB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.06865, allocations: 4 kB / 437.4 MB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-05/0.06872, allocations: 39.91 kB / 437.4 MB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.06873, allocations: 4 kB / 437.4 MB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.06874, allocations: 4 kB / 437.4 MB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.06874, allocations: 4 kB / 437.4 MB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.06875, allocations: 8.031 kB / 437.4 MB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.06908, allocations: 435.2 kB / 437.9 MB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.0691, allocations: 27.8 kB / 437.9 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.06915, allocations: 51.55 kB / 437.9 MB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.06927, allocations: 8 kB / 438 MB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.06929, allocations: 23.91 kB / 438 MB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.06931, allocations: 8 kB / 438 MB, free: 5.539 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002157/0.06952, allocations: 322.8 kB / 438.3 MB, free: 5.223 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.06952, allocations: 0 / 438.3 MB, free: 5.223 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001039/0.07056, allocations: 438.5 kB / 438.7 MB, free: 4.793 MB / 410.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009841/0.07155, allocations: 0.6656 MB / 439.4 MB, free: 4.113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.07186, allocations: 221.9 kB / 439.6 MB, free: 3.895 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.07186, allocations: 0 / 439.6 MB, free: 3.895 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.943e-05/0.07193, allocations: 71.48 kB / 439.7 MB, free: 3.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.07241, allocations: 151.4 kB / 439.8 MB, free: 3.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.133/1.205, allocations: 0.5807 GB / 1.01 GB, free: 105.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.134e-05/1.205, allocations: 100.5 kB / 1.01 GB, free: 105.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003546/1.206, allocations: 166.1 kB / 1.01 GB, free: 105 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/1.206, allocations: 38.42 kB / 1.01 GB, free: 105 MB / 458.7 MB Notification: Performance of SimCode: time 2.896e-06/1.206, allocations: 0 / 1.01 GB, free: 105 MB / 458.7 MB Notification: Performance of Templates: time 0.01738/1.223, allocations: 17.59 MB / 1.028 GB, free: 92.2 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.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.2782981703057885]