Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.001548/0.001548, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001142/0.001142, allocations: 173.4 kB / 24.91 MB, free: 8.773 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 1.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2733/0.2733, allocations: 32.81 MB / 294.6 MB, free: 1.207 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_pT,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_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 323.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.727e-05, allocations: 7.406 kB / 323.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.008454/0.008471, allocations: 11.26 MB / 334.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008592/0.01706, allocations: 11.73 MB / 346.3 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.911e-05/0.01715, allocations: 4 kB / 346.3 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.01746, allocations: 83.44 kB / 346.4 MB, free: 2.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006924/0.02438, allocations: 3.236 MB / 349.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.02467, allocations: 155.6 kB / 349.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003242/0.02791, allocations: 4.025 MB / 353.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.253e-05/0.02797, allocations: 18.55 kB / 353.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.02816, allocations: 211.4 kB / 354 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005809/0.03397, allocations: 7.281 MB / 361.3 MB, free: 3.566 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.034, allocations: 8 kB / 361.3 MB, free: 3.559 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004502/0.0385, allocations: 2.286 MB / 363.6 MB, free: 1.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.03859, allocations: 51.75 kB / 363.6 MB, free: 1.219 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.0387, allocations: 91.77 kB / 363.7 MB, free: 1.129 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002673/0.04137, allocations: 1.972 MB / 365.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.04138, allocations: 0 / 365.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.04138, allocations: 0 / 365.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.04138, allocations: 0 / 365.7 MB, free: 15.15 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.001323/0.04271, allocations: 0.8992 MB / 366.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.04274, allocations: 8.031 kB / 366.6 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/0.04315, allocations: 160.4 kB / 366.7 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.04335, allocations: 177.4 kB / 366.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.04337, allocations: 24.97 kB / 366.9 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.0434, allocations: 32.38 kB / 367 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004756/0.04388, allocations: 429.3 kB / 367.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.04389, allocations: 4.188 kB / 367.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.04391, allocations: 12.12 kB / 367.4 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.04392, allocations: 8 kB / 367.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.04436, allocations: 395.7 kB / 367.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00355/0.04791, allocations: 2.583 MB / 370.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.04821, allocations: 175.9 kB / 370.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.398e-05/0.04825, allocations: 41.41 kB / 370.6 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03195/0.0802, allocations: 20.51 MB / 391.1 MB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004751/0.08068, allocations: 327.4 kB / 391.4 MB, free: 5.133 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.595e-06/0.08068, allocations: 0 / 391.4 MB, free: 5.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009578/0.08164, allocations: 0.4891 MB / 391.9 MB, free: 4.637 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/0.0818, allocations: 484.2 kB / 392.4 MB, free: 4.055 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.08191, allocations: 169.6 kB / 392.6 MB, free: 3.879 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.08193, allocations: 29.7 kB / 392.6 MB, free: 3.844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.082, allocations: 168.4 kB / 392.7 MB, free: 3.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.171e-05/0.08207, allocations: 134.9 kB / 392.9 MB, free: 3.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-05/0.08215, allocations: 86.09 kB / 393 MB, free: 3.449 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.83e-05/0.08224, allocations: 334.7 kB / 393.3 MB, free: 3.113 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.08228, allocations: 32.97 kB / 393.3 MB, free: 3.082 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.08243, allocations: 285.5 kB / 393.6 MB, free: 2.688 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.0827, allocations: 397.4 kB / 394 MB, free: 2.184 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.08271, allocations: 4 kB / 394 MB, free: 2.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002881/0.08299, allocations: 297.5 kB / 394.3 MB, free: 1.883 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.08301, allocations: 12.22 kB / 394.3 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.08302, allocations: 8 kB / 394.3 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.08304, allocations: 12 kB / 394.3 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005092/0.08355, allocations: 163.7 kB / 394.5 MB, free: 1.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002855/0.08384, allocations: 0.6015 MB / 395.1 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.084, allocations: 39.73 kB / 395.1 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.08404, allocations: 28.06 kB / 395.1 MB, free: 1 MB / 362.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): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.08416, allocations: 152.5 kB / 395.3 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.08421, allocations: 27.98 kB / 395.3 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005922/0.0848, allocations: 0.6367 MB / 396 MB, free: 140 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.08481, allocations: 4 kB / 396 MB, free: 136 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.08481, allocations: 4 kB / 396 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.08482, allocations: 0 / 396 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007506/0.08557, allocations: 0.6544 MB / 396.6 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.08557, allocations: 7.938 kB / 396.6 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.08597, allocations: 103.8 kB / 396.7 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.08598, allocations: 4 kB / 396.7 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.086, allocations: 11.98 kB / 396.7 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002071/0.0862, allocations: 0.5744 MB / 397.3 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.08621, allocations: 11.97 kB / 397.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.08648, allocations: 384 kB / 397.7 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.08651, allocations: 19.84 kB / 397.7 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.08656, allocations: 55.52 kB / 397.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.08668, allocations: 15.98 kB / 397.8 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.08671, allocations: 23.91 kB / 397.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.08672, allocations: 7.984 kB / 397.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.08685, allocations: 160.7 kB / 398 MB, free: 14 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.08685, allocations: 4 kB / 398 MB, free: 14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00118/0.08803, allocations: 466.5 kB / 398.4 MB, free: 13.54 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001477/0.0895, allocations: 0.7466 MB / 399.2 MB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007881/0.09029, allocations: 263.2 kB / 399.4 MB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.986e-05/0.09031, allocations: 4 kB / 399.4 MB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.09046, allocations: 97.27 kB / 399.5 MB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.09099, allocations: 156.9 kB / 399.7 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9192/1.01, allocations: 0.5174 GB / 0.9078 GB, free: 38.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.759e-05/1.01, allocations: 105.6 kB / 0.9079 GB, free: 38.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003587/1.011, allocations: 164.7 kB / 0.908 GB, free: 38.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/1.011, allocations: 139.3 kB / 0.9082 GB, free: 38.01 MB / 458.7 MB Notification: Performance of SimCode: time 2.264e-06/1.011, allocations: 0 / 0.9082 GB, free: 38.01 MB / 458.7 MB Notification: Performance of Templates: time 0.01721/1.028, allocations: 18.05 MB / 0.9258 GB, free: 20.19 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.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: 4.972832098137587]