Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 80.34 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001034/0.001034, allocations: 166.2 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.022/1.022, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1906/0.1906, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.01e-05/4.191e-05, allocations: 4.875 kB / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.0268/0.02684, allocations: 23.8 MB / 403.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.03726, allocations: 9.097 MB / 412.9 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.03751, allocations: 4 kB / 413 MB, free: 5.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00059/0.0381, allocations: 87.44 kB / 413 MB, free: 5.594 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02697/0.06507, allocations: 8.708 MB / 421.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008381/0.0659, allocations: 351 kB / 422.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009083/0.06681, allocations: 0.5177 MB / 422.6 MB, free: 11.99 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.225e-05/0.0669, allocations: 12.59 kB / 422.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003435/0.06724, allocations: 259.4 kB / 422.9 MB, free: 11.72 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008523/0.07576, allocations: 6.046 MB / 428.9 MB, free: 5.672 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.07588, allocations: 16 kB / 428.9 MB, free: 5.656 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02237/0.09824, allocations: 11.14 MB / 440.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.09842, allocations: 99.7 kB / 440.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.09865, allocations: 103.8 kB / 440.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02627/0.1249, allocations: 7.533 MB / 447.8 MB, free: 2.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.1249, allocations: 4 kB / 447.8 MB, free: 2.746 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1249, allocations: 0 / 447.8 MB, free: 2.746 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1249, allocations: 0 / 447.8 MB, free: 2.746 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.006642/0.1316, allocations: 1.526 MB / 449.3 MB, free: 1.176 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.1316, allocations: 12.03 kB / 449.3 MB, free: 1.164 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003237/0.132, allocations: 60.69 kB / 449.4 MB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.1323, allocations: 195.6 kB / 449.6 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.1323, allocations: 24.64 kB / 449.6 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.1324, allocations: 31.98 kB / 449.7 MB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/0.1329, allocations: 431.1 kB / 450.1 MB, free: 352 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.133, allocations: 0 / 450.1 MB, free: 352 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.133, allocations: 12 kB / 450.1 MB, free: 340 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.265e-05/0.133, allocations: 28.58 kB / 450.1 MB, free: 312 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005336/0.1336, allocations: 418.6 kB / 450.5 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.1352, allocations: 1.792 MB / 452.3 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/0.1358, allocations: 239.8 kB / 452.5 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.1359, allocations: 72.23 kB / 452.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007785/0.1437, allocations: 3.412 MB / 456 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005008/0.1442, allocations: 281.6 kB / 456.3 MB, free: 9.949 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 3.247e-06/0.1442, allocations: 4 kB / 456.3 MB, free: 9.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001648/0.1458, allocations: 0.5866 MB / 456.9 MB, free: 9.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.1459, allocations: 273.1 kB / 457.2 MB, free: 9.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.1461, allocations: 274.8 kB / 457.4 MB, free: 8.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.1462, allocations: 37.7 kB / 457.5 MB, free: 8.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.1463, allocations: 250.8 kB / 457.7 MB, free: 8.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.274e-05/0.1464, allocations: 134.9 kB / 457.8 MB, free: 8.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.1465, allocations: 127.9 kB / 458 MB, free: 8.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1467, allocations: 0.5118 MB / 458.5 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.1468, allocations: 57.19 kB / 458.5 MB, free: 7.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.1471, allocations: 453.2 kB / 459 MB, free: 6.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/0.1477, allocations: 0.5638 MB / 459.5 MB, free: 6.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.1477, allocations: 8 kB / 459.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009495/0.1486, allocations: 468.5 kB / 460 MB, free: 5.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.1487, allocations: 9 kB / 460 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.1487, allocations: 8 kB / 460 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.1487, allocations: 20 kB / 460 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.1492, allocations: 183.8 kB / 460.2 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.1502, allocations: 1.806 MB / 462 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.1504, allocations: 23.89 kB / 462.1 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/0.1505, allocations: 43.98 kB / 462.1 MB, free: 3.605 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 (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.0001783/0.1507, allocations: 192.4 kB / 462.3 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.1508, allocations: 59.8 kB / 462.3 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007112/0.1516, allocations: 495.6 kB / 462.8 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.1516, allocations: 4 kB / 462.8 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1516, allocations: 0 / 462.8 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.1516, allocations: 3.984 kB / 462.8 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007557/0.1523, allocations: 0.529 MB / 463.4 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1523, allocations: 0 / 463.4 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.1526, allocations: 92.02 kB / 463.5 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.1526, allocations: 4 kB / 463.5 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.1526, allocations: 7.984 kB / 463.5 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007088/0.1534, allocations: 1.79 MB / 465.3 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1534, allocations: 4 kB / 465.3 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.1538, allocations: 367.5 kB / 465.6 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.1539, allocations: 27.78 kB / 465.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.1539, allocations: 12.06 kB / 465.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1541, allocations: 19.98 kB / 465.7 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.1541, allocations: 23.91 kB / 465.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.1541, allocations: 11.98 kB / 465.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.1543, allocations: 197.1 kB / 465.9 MB, free: 15.58 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1543, allocations: 0 / 465.9 MB, free: 15.58 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006438/0.1607, allocations: 1.636 MB / 467.5 MB, free: 13.94 MB / 394.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.01141/0.1721, allocations: 2.477 MB / 470 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.1734, allocations: 298.2 kB / 470.3 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.1734, allocations: 0 / 470.3 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.1737, allocations: 127.5 kB / 470.4 MB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/0.1744, allocations: 129.9 kB / 470.6 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3677/0.5421, allocations: 141.8 MB / 0.598 GB, free: 1.281 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.966e-05/0.5422, allocations: 86.41 kB / 0.5981 GB, free: 1.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003936/0.5426, allocations: 117.4 kB / 0.5982 GB, free: 1.078 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.5428, allocations: 182.1 kB / 0.5984 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of SimCode: time 2.194e-06/0.5428, allocations: 0 / 0.5984 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of Templates: time 0.07114/0.6139, allocations: 54.07 MB / 0.6512 GB, free: 11.13 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 8.988729286007583]