Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.001268/0.001268, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001211/0.001211, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9142/0.9142, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1261/0.1261, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 347.7 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.587e-05/3.819e-05, allocations: 8.281 kB / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02988/0.02991, allocations: 24.2 MB / 371.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.04499, allocations: 11.31 MB / 383.2 MB, free: 5.754 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.04518, allocations: 3.938 kB / 383.2 MB, free: 5.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.04562, allocations: 79.52 kB / 383.3 MB, free: 5.672 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01624/0.06186, allocations: 8.07 MB / 391.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006662/0.06252, allocations: 366.9 kB / 391.7 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006525/0.06317, allocations: 0.5061 MB / 392.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.06322, allocations: 16.59 kB / 392.3 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.06347, allocations: 259.3 kB / 392.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007105/0.07058, allocations: 6.019 MB / 398.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.214e-05/0.07067, allocations: 12 kB / 398.5 MB, free: 6.395 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01638/0.08705, allocations: 10.77 MB / 409.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.08715, allocations: 103.7 kB / 409.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.0873, allocations: 107.8 kB / 409.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.103, allocations: 7.256 MB / 416.8 MB, free: 4.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.103, allocations: 0 / 416.8 MB, free: 4.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.103, allocations: 4 kB / 416.8 MB, free: 4.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.103, allocations: 0 / 416.8 MB, free: 4.125 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003806/0.1068, allocations: 1.503 MB / 418.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.1069, allocations: 8.031 kB / 418.3 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.1071, allocations: 60.11 kB / 418.4 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1073, allocations: 187.7 kB / 418.5 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.1074, allocations: 20.66 kB / 418.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.1074, allocations: 28 kB / 418.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005599/0.108, allocations: 467.2 kB / 419 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.108, allocations: 0 / 419 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.108, allocations: 19.97 kB / 419.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/0.108, allocations: 28.64 kB / 419.1 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005338/0.1086, allocations: 499.2 kB / 419.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.1102, allocations: 1.827 MB / 421.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.1107, allocations: 244.3 kB / 421.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.891e-05/0.1108, allocations: 80.3 kB / 421.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007031/0.1178, allocations: 3.689 MB / 425.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004505/0.1183, allocations: 284.7 kB / 425.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 3.035e-06/0.1183, allocations: 4 kB / 425.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001709/0.12, allocations: 0.7732 MB / 426.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.835e-05/0.1201, allocations: 273 kB / 426.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.1203, allocations: 281.4 kB / 427 MB, free: 9.488 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1203, allocations: 33.7 kB / 427 MB, free: 9.449 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.1204, allocations: 254.8 kB / 427.3 MB, free: 9.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.025e-05/0.1205, allocations: 127.2 kB / 427.4 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.1206, allocations: 135.9 kB / 427.5 MB, free: 8.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1207, allocations: 0.5079 MB / 428 MB, free: 8.406 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-05/0.1208, allocations: 57.27 kB / 428.1 MB, free: 8.348 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.1211, allocations: 465.3 kB / 428.6 MB, free: 7.719 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.1217, allocations: 0.5841 MB / 429.1 MB, free: 6.957 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1217, allocations: 3.984 kB / 429.1 MB, free: 6.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007462/0.1224, allocations: 0.4932 MB / 429.6 MB, free: 6.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.1224, allocations: 8 kB / 429.6 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.1225, allocations: 8 kB / 429.7 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.1225, allocations: 16 kB / 429.7 MB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.1229, allocations: 179.7 kB / 429.8 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008699/0.1238, allocations: 1.81 MB / 431.7 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.124, allocations: 23.95 kB / 431.7 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.124, allocations: 44.05 kB / 431.7 MB, free: 4.312 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.1242, allocations: 204.2 kB / 431.9 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.1243, allocations: 63.72 kB / 432 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006262/0.1249, allocations: 496.4 kB / 432.5 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1249, allocations: 4 kB / 432.5 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1249, allocations: 4.031 kB / 432.5 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1249, allocations: 3.938 kB / 432.5 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.1255, allocations: 0.5847 MB / 433.1 MB, free: 2.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1255, allocations: 0 / 433.1 MB, free: 2.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.1258, allocations: 83.88 kB / 433.1 MB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1258, allocations: 4 kB / 433.2 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1258, allocations: 11.98 kB / 433.2 MB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006022/0.1264, allocations: 1.794 MB / 435 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1264, allocations: 4 kB / 435 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.1268, allocations: 385.9 kB / 435.3 MB, free: 484 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.1269, allocations: 23.84 kB / 435.4 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1269, allocations: 8 kB / 435.4 MB, free: 452 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.1271, allocations: 15.98 kB / 435.4 MB, free: 436 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.1271, allocations: 19.91 kB / 435.4 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.1271, allocations: 19.98 kB / 435.4 MB, free: 396 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.1273, allocations: 197.1 kB / 435.6 MB, free: 196 kB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1273, allocations: 4.094 kB / 435.6 MB, free: 192 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.004352/0.1316, allocations: 1.566 MB / 437.2 MB, free: 14.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006771/0.1384, allocations: 2.382 MB / 439.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.1396, allocations: 310 kB / 439.9 MB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1396, allocations: 0 / 439.9 MB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002734/0.1399, allocations: 123.4 kB / 440 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.1405, allocations: 121.4 kB / 440.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2694/0.4098, allocations: 141.4 MB / 0.5679 GB, free: 6.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.07e-05/0.4099, allocations: 89.81 kB / 0.568 GB, free: 6.305 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004046/0.4103, allocations: 137.8 kB / 0.5681 GB, free: 6.184 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.4104, allocations: 48.48 kB / 0.5682 GB, free: 6.145 MB / 410.7 MB Notification: Performance of SimCode: time 2.525e-06/0.4104, allocations: 0 / 0.5682 GB, free: 6.145 MB / 410.7 MB Notification: Performance of Templates: time 0.1953/0.6057, allocations: 46.73 MB / 0.6138 GB, free: 131.7 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.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: 7.641569443047047]