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.001025/0.001025, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001063/0.001063, allocations: 166.7 kB / 24.99 MB, free: 8.793 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.9804/0.9804, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.3376/0.3376, allocations: 34.26 MB / 296 MB, free: 0.6992 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 2.254e-06/2.254e-06, allocations: 0 / 378.1 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.173e-05, allocations: 2.312 kB / 378.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01024/0.01027, allocations: 11.26 MB / 389.3 MB, free: 7.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009062/0.01933, allocations: 11.73 MB / 401.1 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.01952, allocations: 3.938 kB / 401.1 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.01987, allocations: 63.52 kB / 401.1 MB, free: 11.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008745/0.02862, allocations: 3.189 MB / 404.3 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.02898, allocations: 147.7 kB / 404.5 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004576/0.03355, allocations: 4.013 MB / 408.5 MB, free: 4.383 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.236e-05/0.03363, allocations: 16.58 kB / 408.5 MB, free: 4.363 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.03386, allocations: 195.5 kB / 408.7 MB, free: 4.172 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006528/0.04039, allocations: 7.316 MB / 416 MB, free: 12.85 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.955e-05/0.04045, allocations: 8 kB / 416 MB, free: 12.84 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003897/0.04434, allocations: 2.028 MB / 418 MB, free: 10.81 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.04443, allocations: 47.73 kB / 418.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.04455, allocations: 95.78 kB / 418.2 MB, free: 10.67 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003158/0.04771, allocations: 1.75 MB / 419.9 MB, free: 8.914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.04771, allocations: 0 / 419.9 MB, free: 8.914 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.04772, allocations: 0 / 419.9 MB, free: 8.914 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.902e-06/0.04772, allocations: 4 kB / 419.9 MB, free: 8.91 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.001711/0.04943, allocations: 0.9617 MB / 420.9 MB, free: 7.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.04949, allocations: 12.03 kB / 420.9 MB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005233/0.05001, allocations: 156.3 kB / 421.1 MB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.05026, allocations: 192.2 kB / 421.2 MB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.05028, allocations: 21.03 kB / 421.3 MB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.05032, allocations: 28.38 kB / 421.3 MB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006389/0.05096, allocations: 472 kB / 421.7 MB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.05097, allocations: 4.125 kB / 421.8 MB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.051, allocations: 16.12 kB / 421.8 MB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.05101, allocations: 7.938 kB / 421.8 MB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000621/0.05163, allocations: 470.4 kB / 422.2 MB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003835/0.05546, allocations: 3.207 MB / 425.4 MB, free: 3.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.05583, allocations: 159.6 kB / 425.6 MB, free: 3.027 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.616e-05/0.0559, allocations: 52.36 kB / 425.6 MB, free: 2.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01193/0.06783, allocations: 7.802 MB / 433.5 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00056/0.06839, allocations: 367.7 kB / 433.8 MB, free: 10.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.495e-06/0.06839, allocations: 0 / 433.8 MB, free: 10.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001096/0.06949, allocations: 453.2 kB / 434.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001985/0.06969, allocations: 478.6 kB / 434.7 MB, free: 9.668 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.06989, allocations: 254.1 kB / 435 MB, free: 9.402 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.06992, allocations: 34.95 kB / 435 MB, free: 9.363 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.07006, allocations: 242.8 kB / 435.2 MB, free: 9.121 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/0.07013, allocations: 103.2 kB / 435.3 MB, free: 9.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.354e-05/0.07022, allocations: 103.8 kB / 435.4 MB, free: 8.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.07038, allocations: 0.504 MB / 435.9 MB, free: 8.395 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.07046, allocations: 48.95 kB / 436 MB, free: 8.348 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.07072, allocations: 409.7 kB / 436.4 MB, free: 7.777 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.07109, allocations: 0.5112 MB / 436.9 MB, free: 7.102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.07109, allocations: 0 / 436.9 MB, free: 7.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004478/0.07154, allocations: 393.5 kB / 437.3 MB, free: 6.711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.07157, allocations: 8 kB / 437.3 MB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.07158, allocations: 12.12 kB / 437.3 MB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.07161, allocations: 12 kB / 437.3 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.0718, allocations: 107.8 kB / 437.4 MB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.07182, allocations: 19.92 kB / 437.4 MB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.07197, allocations: 55.62 kB / 437.5 MB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/0.07202, allocations: 28 kB / 437.5 MB, free: 6.473 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.0001176/0.07214, allocations: 200.3 kB / 437.7 MB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.0722, allocations: 35.84 kB / 437.8 MB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006205/0.07282, allocations: 0.6494 MB / 438.4 MB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.07283, allocations: 7.984 kB / 438.4 MB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.07283, allocations: 4.219 kB / 438.4 MB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.07284, allocations: 4 kB / 438.4 MB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006811/0.07352, allocations: 0.7691 MB / 439.2 MB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.07353, allocations: 4 kB / 439.2 MB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/0.07359, allocations: 35.91 kB / 439.2 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.0736, allocations: 4 kB / 439.2 MB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.07361, allocations: 8 kB / 439.2 MB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.07361, allocations: 4 kB / 439.2 MB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.07362, allocations: 7.938 kB / 439.3 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.07391, allocations: 428.4 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.07394, allocations: 31.78 kB / 439.7 MB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.07399, allocations: 47.56 kB / 439.7 MB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.0741, allocations: 12 kB / 439.8 MB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.07414, allocations: 23.84 kB / 439.8 MB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.07416, allocations: 12 kB / 439.8 MB, free: 4.035 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002145/0.07437, allocations: 318.8 kB / 440.1 MB, free: 3.723 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07437, allocations: 0 / 440.1 MB, free: 3.723 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009976/0.07537, allocations: 422.6 kB / 440.5 MB, free: 3.309 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.001019/0.07639, allocations: 0.6851 MB / 441.2 MB, free: 2.609 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002948/0.07668, allocations: 218 kB / 441.4 MB, free: 2.395 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.07668, allocations: 0 / 441.4 MB, free: 2.395 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.843e-05/0.07675, allocations: 71.53 kB / 441.5 MB, free: 2.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.07724, allocations: 149.6 kB / 441.6 MB, free: 2.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.135/1.212, allocations: 0.579 GB / 1.01 GB, free: 119.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.745e-05/1.212, allocations: 102 kB / 1.01 GB, free: 119.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003175/1.213, allocations: 160.2 kB / 1.011 GB, free: 119.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/1.213, allocations: 38.17 kB / 1.011 GB, free: 119.2 MB / 458.7 MB Notification: Performance of SimCode: time 2.114e-06/1.213, allocations: 0 / 1.011 GB, free: 119.2 MB / 458.7 MB Notification: Performance of Templates: time 0.01313/1.226, allocations: 14.61 MB / 1.025 GB, free: 108.2 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.546555176144466]