Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001295/0.001295, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001554/0.001554, allocations: 175.1 kB / 24.91 MB, free: 9.176 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2847/0.2847, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.957e-05, allocations: 2.312 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02158/0.0216, allocations: 24.06 MB / 349.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007474/0.02907, allocations: 9.249 MB / 358.6 MB, free: 6.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/0.02914, allocations: 0 / 358.6 MB, free: 6.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.02948, allocations: 75.58 kB / 358.7 MB, free: 6.156 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01647/0.04595, allocations: 8.754 MB / 367.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.04654, allocations: 358.9 kB / 367.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005582/0.0471, allocations: 0.5138 MB / 368.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.04715, allocations: 14.56 kB / 368.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.04739, allocations: 255.4 kB / 368.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006303/0.05369, allocations: 6.003 MB / 374.6 MB, free: 6.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.05374, allocations: 12 kB / 374.6 MB, free: 6.219 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01596/0.06969, allocations: 11.11 MB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.06979, allocations: 99.69 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.06992, allocations: 107.8 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.08347, allocations: 7.525 MB / 393.4 MB, free: 3.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.08348, allocations: 4 kB / 393.4 MB, free: 3.336 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.08348, allocations: 0 / 393.4 MB, free: 3.336 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.08348, allocations: 0 / 393.4 MB, free: 3.336 MB / 362.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.00235/0.08583, allocations: 1.406 MB / 394.8 MB, free: 1.898 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.08588, allocations: 12.03 kB / 394.8 MB, free: 1.887 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.08603, allocations: 56.78 kB / 394.9 MB, free: 1.832 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.08625, allocations: 184.7 kB / 395.1 MB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.08627, allocations: 20.64 kB / 395.1 MB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.08631, allocations: 32 kB / 395.1 MB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.08671, allocations: 415.4 kB / 395.5 MB, free: 1.109 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.08672, allocations: 0 / 395.5 MB, free: 1.109 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.08674, allocations: 12 kB / 395.5 MB, free: 1.098 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/0.08678, allocations: 20.59 kB / 395.5 MB, free: 1.074 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006734/0.08745, allocations: 397.4 kB / 395.9 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.08856, allocations: 1.338 MB / 397.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.08894, allocations: 217.2 kB / 397.5 MB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.291e-05/0.089, allocations: 57.48 kB / 397.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00548/0.09448, allocations: 3.418 MB / 401 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.09473, allocations: 250.4 kB / 401.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.342e-06/0.09474, allocations: 0 / 401.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006066/0.09534, allocations: 332.6 kB / 401.5 MB, free: 10.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.09544, allocations: 273 kB / 401.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.09556, allocations: 207.6 kB / 402 MB, free: 10.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.09558, allocations: 29.7 kB / 402 MB, free: 10.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/0.09567, allocations: 208 kB / 402.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.09574, allocations: 122.9 kB / 402.4 MB, free: 10.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.09583, allocations: 114.2 kB / 402.5 MB, free: 9.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.09593, allocations: 338.8 kB / 402.8 MB, free: 9.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.886e-05/0.09598, allocations: 41.28 kB / 402.8 MB, free: 9.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.09651, allocations: 326.5 kB / 403.2 MB, free: 9.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.09686, allocations: 454.2 kB / 403.6 MB, free: 8.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.09687, allocations: 3.938 kB / 403.6 MB, free: 8.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004957/0.09736, allocations: 375.9 kB / 404 MB, free: 8.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.09738, allocations: 8 kB / 404 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.09739, allocations: 12.12 kB / 404 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.09741, allocations: 16 kB / 404 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.09773, allocations: 159.8 kB / 404.2 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002243/0.09796, allocations: 0.6015 MB / 404.8 MB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.09809, allocations: 55.56 kB / 404.8 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.09813, allocations: 43.97 kB / 404.9 MB, free: 7.25 MB / 378.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 (65): * Single equations (assignments): 64 * 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 9.627e-05/0.09823, allocations: 152.4 kB / 405 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.09833, allocations: 47.78 kB / 405.1 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004493/0.09878, allocations: 400.5 kB / 405.4 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.09878, allocations: 4 kB / 405.4 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.09878, allocations: 0 / 405.4 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.09879, allocations: 0 / 405.4 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.09916, allocations: 401.7 kB / 405.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.09916, allocations: 0 / 405.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.09933, allocations: 75.94 kB / 405.9 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.09933, allocations: 4 kB / 405.9 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.09934, allocations: 7.984 kB / 405.9 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001959/0.09954, allocations: 0.59 MB / 406.5 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.09954, allocations: 4 kB / 406.5 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.09979, allocations: 265.8 kB / 406.8 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.09981, allocations: 27.83 kB / 406.8 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.09984, allocations: 7.953 kB / 406.8 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.09994, allocations: 12 kB / 406.8 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.09997, allocations: 27.89 kB / 406.9 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.09998, allocations: 8 kB / 406.9 MB, free: 5.109 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.716e-05/0.1, allocations: 82.77 kB / 406.9 MB, free: 5.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1, allocations: 0 / 406.9 MB, free: 5.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002484/0.1025, allocations: 1.43 MB / 408.4 MB, free: 3.59 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 (23): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.004107/0.1066, allocations: 2.2 MB / 410.6 MB, free: 1.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004364/0.1071, allocations: 263 kB / 410.8 MB, free: 1.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/0.1071, allocations: 13.25 kB / 410.8 MB, free: 1.098 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.1072, allocations: 96.66 kB / 410.9 MB, free: 1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.1076, allocations: 116.7 kB / 411.1 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2643/0.3719, allocations: 136.8 MB / 0.535 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.848e-05/0.3719, allocations: 89.81 kB / 0.5351 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000354/0.3723, allocations: 115.8 kB / 0.5352 GB, free: 13.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.3725, allocations: 151.3 kB / 0.5353 GB, free: 13.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.684e-06/0.3725, allocations: 0 / 0.5353 GB, free: 13.14 MB / 410.7 MB Notification: Performance of Templates: time 0.04298/0.4155, allocations: 45.84 MB / 0.5801 GB, free: 15.57 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 6.777324833907187]