Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009359/0.0009359, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001227/0.001227, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9945/0.9945, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2795/0.2795, allocations: 34.26 MB / 296.1 MB, free: 0.6875 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_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.1.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.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.972e-05, allocations: 7.859 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01077/0.0108, allocations: 11.27 MB / 336.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009092/0.01989, allocations: 11.74 MB / 348.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.02006, allocations: 0 / 348.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.02039, allocations: 75.52 kB / 348.4 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008312/0.0287, allocations: 3.24 MB / 351.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.02903, allocations: 159.7 kB / 351.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003765/0.0328, allocations: 4.021 MB / 355.8 MB, free: 9.051 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.019e-05/0.03287, allocations: 18.55 kB / 355.8 MB, free: 9.031 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.03311, allocations: 203.5 kB / 356 MB, free: 8.832 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005435/0.03855, allocations: 7.289 MB / 363.3 MB, free: 1.535 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.983e-05/0.03862, allocations: 16 kB / 363.3 MB, free: 1.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004379/0.04299, allocations: 2.021 MB / 365.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.04313, allocations: 43.77 kB / 365.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.04336, allocations: 99.75 kB / 365.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005446/0.04881, allocations: 1.746 MB / 367.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.04881, allocations: 0 / 367.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.04881, allocations: 0 / 367.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.04882, allocations: 4 kB / 367.2 MB, free: 13.6 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.001785/0.05061, allocations: 0.8527 MB / 368.1 MB, free: 12.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.05065, allocations: 8.031 kB / 368.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000487/0.05114, allocations: 160.4 kB / 368.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.05143, allocations: 181.4 kB / 368.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.05146, allocations: 25.03 kB / 368.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.0515, allocations: 28.38 kB / 368.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.0521, allocations: 429.3 kB / 368.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.05212, allocations: 4.125 kB / 368.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.05215, allocations: 20.12 kB / 368.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.05216, allocations: 8 kB / 368.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.05266, allocations: 387.7 kB / 369.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003868/0.05653, allocations: 2.579 MB / 371.9 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.05686, allocations: 171.2 kB / 372.1 MB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.05691, allocations: 41.41 kB / 372.1 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03043/0.08734, allocations: 19.7 MB / 391.8 MB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004944/0.08784, allocations: 323.3 kB / 392.1 MB, free: 4.465 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.635e-06/0.08784, allocations: 0 / 392.1 MB, free: 4.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.001118/0.08896, allocations: 0.5066 MB / 392.6 MB, free: 3.949 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/0.08913, allocations: 482.5 kB / 393.1 MB, free: 3.367 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.08924, allocations: 170.4 kB / 393.2 MB, free: 3.188 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.08927, allocations: 29.7 kB / 393.3 MB, free: 3.152 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.08935, allocations: 164.4 kB / 393.4 MB, free: 2.988 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/0.08942, allocations: 134.8 kB / 393.6 MB, free: 2.855 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.0895, allocations: 86.59 kB / 393.7 MB, free: 2.762 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.08958, allocations: 334.7 kB / 394 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/0.08962, allocations: 40.97 kB / 394 MB, free: 2.387 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.08977, allocations: 285.5 kB / 394.3 MB, free: 1.992 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.09004, allocations: 388.6 kB / 394.7 MB, free: 1.496 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.09005, allocations: 0 / 394.7 MB, free: 1.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003089/0.09035, allocations: 305.6 kB / 395 MB, free: 1.188 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.09037, allocations: 13 kB / 395 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.09038, allocations: 8 kB / 395 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006601/0.09104, allocations: 136.8 kB / 395.1 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.09122, allocations: 95.83 kB / 395.2 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002781/0.0915, allocations: 0.6054 MB / 395.8 MB, free: 316 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.09166, allocations: 43.73 kB / 395.9 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.09169, allocations: 23.94 kB / 395.9 MB, free: 248 kB / 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 (53): * Single equations (assignments): 52 * 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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.0918, allocations: 160.5 kB / 396.1 MB, free: 76 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.09185, allocations: 35.97 kB / 396.1 MB, free: 40 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006191/0.09247, allocations: 0.64 MB / 396.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.09247, allocations: 4 kB / 396.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.09248, allocations: 7.984 kB / 396.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.09248, allocations: 4 kB / 396.7 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006517/0.09313, allocations: 0.6626 MB / 397.4 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.09314, allocations: 3.938 kB / 397.4 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.338e-05/0.09322, allocations: 39.97 kB / 397.5 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/0.09362, allocations: 129 kB / 397.6 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.09363, allocations: 7.984 kB / 397.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002132/0.09385, allocations: 0.5821 MB / 398.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.09385, allocations: 7.938 kB / 398.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.09412, allocations: 396.8 kB / 398.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.09416, allocations: 31.86 kB / 398.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.09421, allocations: 47.56 kB / 398.6 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.09432, allocations: 15.98 kB / 398.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.09435, allocations: 23.91 kB / 398.7 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.09436, allocations: 11.94 kB / 398.7 MB, free: 13.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.09448, allocations: 156.7 kB / 398.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09448, allocations: 0 / 398.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001072/0.09555, allocations: 438.6 kB / 399.3 MB, free: 12.7 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 (25): * Single equations (assignments): 23 * 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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/0.09666, allocations: 0.7062 MB / 400 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003/0.09696, allocations: 224.7 kB / 400.2 MB, free: 11.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/0.09698, allocations: 8 kB / 400.2 MB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.09706, allocations: 98.47 kB / 400.3 MB, free: 11.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.09749, allocations: 145.8 kB / 400.4 MB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8328/0.9303, allocations: 485.3 MB / 0.8649 GB, free: 76.99 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.02e-05/0.9303, allocations: 113.1 kB / 0.865 GB, free: 76.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003718/0.9307, allocations: 154.3 kB / 0.8652 GB, free: 76.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.9309, allocations: 131.3 kB / 0.8653 GB, free: 76.61 MB / 458.7 MB Notification: Performance of SimCode: time 2.645e-06/0.9309, allocations: 0 / 0.8653 GB, free: 76.61 MB / 458.7 MB Notification: Performance of Templates: time 0.01654/0.9475, allocations: 17.39 MB / 0.8823 GB, free: 59.46 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 4.859289224259555]