Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009345/0.0009345, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.00097/0.00097, allocations: 165 kB / 24.56 MB, free: 12 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 0.9668/0.9668, allocations: 177.2 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2583/0.2583, allocations: 34.25 MB / 295.7 MB, free: 0.75 MB / 266.7 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: 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.1.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.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.398e-05, allocations: 2.312 kB / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.02361/0.02363, allocations: 11.29 MB / 389.4 MB, free: 7.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009431/0.03306, allocations: 11.76 MB / 401.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.03317, allocations: 0 / 401.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.03344, allocations: 75.45 kB / 401.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007583/0.04103, allocations: 3.201 MB / 404.4 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.04131, allocations: 155.6 kB / 404.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003803/0.04511, allocations: 4.064 MB / 408.6 MB, free: 3.934 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.04515, allocations: 8.594 kB / 408.6 MB, free: 3.922 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.04535, allocations: 203.5 kB / 408.8 MB, free: 3.723 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006096/0.05144, allocations: 7.352 MB / 416.2 MB, free: 12.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.05148, allocations: 8 kB / 416.2 MB, free: 12.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003553/0.05503, allocations: 2.04 MB / 418.2 MB, free: 10.31 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.05509, allocations: 47.75 kB / 418.3 MB, free: 10.27 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.678e-05/0.05518, allocations: 95.77 kB / 418.4 MB, free: 10.17 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.05753, allocations: 1.753 MB / 420.1 MB, free: 8.414 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.05754, allocations: 0 / 420.1 MB, free: 8.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.05754, allocations: 4 kB / 420.1 MB, free: 8.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.05755, allocations: 0 / 420.1 MB, free: 8.41 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.001559/0.0591, allocations: 0.9695 MB / 421.1 MB, free: 7.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.05915, allocations: 8.031 kB / 421.1 MB, free: 7.395 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005011/0.05965, allocations: 152.3 kB / 421.3 MB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.05989, allocations: 196.2 kB / 421.5 MB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.05991, allocations: 21.03 kB / 421.5 MB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.05994, allocations: 28.38 kB / 421.5 MB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.06051, allocations: 472 kB / 422 MB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.06052, allocations: 192 / 422 MB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.06055, allocations: 16.12 kB / 422 MB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.06056, allocations: 8 kB / 422 MB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005274/0.06109, allocations: 474.3 kB / 422.5 MB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003724/0.06481, allocations: 3.203 MB / 425.7 MB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.06511, allocations: 151.6 kB / 425.8 MB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/0.06517, allocations: 56.36 kB / 425.9 MB, free: 2.477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01135/0.07652, allocations: 7.806 MB / 433.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000405/0.07693, allocations: 371.6 kB / 434 MB, free: 10.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.07693, allocations: 0 / 434 MB, free: 10.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007848/0.07771, allocations: 449.2 kB / 434.5 MB, free: 9.746 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.07784, allocations: 482.5 kB / 434.9 MB, free: 9.164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.07797, allocations: 251.5 kB / 435.2 MB, free: 8.902 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.07799, allocations: 33.7 kB / 435.2 MB, free: 8.863 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.07808, allocations: 238.8 kB / 435.5 MB, free: 8.625 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/0.07813, allocations: 107.2 kB / 435.6 MB, free: 8.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/0.07821, allocations: 103.8 kB / 435.7 MB, free: 8.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.07832, allocations: 0.5001 MB / 436.2 MB, free: 7.898 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.186e-05/0.07838, allocations: 52.95 kB / 436.2 MB, free: 7.848 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.07858, allocations: 405.7 kB / 436.6 MB, free: 7.281 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.0789, allocations: 0.4996 MB / 437.1 MB, free: 6.617 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.07891, allocations: 0 / 437.1 MB, free: 6.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003977/0.0793, allocations: 401.5 kB / 437.5 MB, free: 6.219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.07932, allocations: 8 kB / 437.5 MB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.07933, allocations: 12.12 kB / 437.5 MB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.07935, allocations: 12 kB / 437.5 MB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.07952, allocations: 107.8 kB / 437.6 MB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.07953, allocations: 19.92 kB / 437.7 MB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.07966, allocations: 47.62 kB / 437.7 MB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.07969, allocations: 31.98 kB / 437.7 MB, free: 5.984 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 9.27e-05/0.07978, allocations: 200.3 kB / 437.9 MB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.07983, allocations: 31.91 kB / 438 MB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005392/0.08037, allocations: 0.6532 MB / 438.6 MB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.08037, allocations: 8 kB / 438.6 MB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.08038, allocations: 8.203 kB / 438.6 MB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.08038, allocations: 4 kB / 438.6 MB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008002/0.08118, allocations: 0.7756 MB / 439.4 MB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.08119, allocations: 8 kB / 439.4 MB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.08125, allocations: 31.98 kB / 439.4 MB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.08125, allocations: 4 kB / 439.5 MB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.08126, allocations: 4 kB / 439.5 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.08127, allocations: 7.938 kB / 439.5 MB, free: 4.148 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.08127, allocations: 4 kB / 439.5 MB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.08153, allocations: 432.4 kB / 439.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.08155, allocations: 35.78 kB / 439.9 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.08159, allocations: 43.56 kB / 440 MB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.0817, allocations: 15.98 kB / 440 MB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.08172, allocations: 23.86 kB / 440 MB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.08173, allocations: 4 kB / 440 MB, free: 3.539 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.08192, allocations: 322.8 kB / 440.3 MB, free: 3.223 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08192, allocations: 0 / 440.3 MB, free: 3.223 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006871/0.08261, allocations: 430.6 kB / 440.7 MB, free: 2.801 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.0008357/0.08344, allocations: 0.6656 MB / 441.4 MB, free: 2.121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.08368, allocations: 222.2 kB / 441.6 MB, free: 1.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.08369, allocations: 0 / 441.6 MB, free: 1.902 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.216e-05/0.08375, allocations: 71.53 kB / 441.7 MB, free: 1.828 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.08417, allocations: 150.9 kB / 441.8 MB, free: 1.684 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.09/1.174, allocations: 0.5807 GB / 1.012 GB, free: 97.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.409e-05/1.174, allocations: 102.7 kB / 1.012 GB, free: 97.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003754/1.174, allocations: 160.9 kB / 1.012 GB, free: 97.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/1.174, allocations: 38.61 kB / 1.012 GB, free: 97.39 MB / 458.7 MB Notification: Performance of SimCode: time 3.126e-06/1.174, allocations: 0 / 1.012 GB, free: 97.39 MB / 458.7 MB Notification: Performance of Templates: time 0.01714/1.191, allocations: 17.6 MB / 1.03 GB, free: 82.45 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1331891939044]