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.0009845/0.0009845, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001232/0.001232, allocations: 156.9 kB / 24.99 MB, free: 8.262 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.029/1.029, allocations: 177 MB / 205.2 MB, free: 5.613 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.2951/0.2951, allocations: 34.87 MB / 296.6 MB, free: 0.5547 MB / 266.7 MB " [Timeout remaining time 180] 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.483e-06/1.483e-06, allocations: 3.938 kB / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.069e-05, allocations: 3.719 kB / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02727/0.02731, allocations: 26.98 MB / 405.8 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01242/0.03973, allocations: 10.99 MB / 416.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.04004, allocations: 4 kB / 416.8 MB, free: 12.28 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005974/0.04063, allocations: 71.5 kB / 416.8 MB, free: 12.21 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02108/0.06171, allocations: 9.382 MB / 426.2 MB, free: 2.793 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007633/0.06247, allocations: 430.5 kB / 426.6 MB, free: 2.371 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006268/0.0631, allocations: 498.2 kB / 427.1 MB, free: 1.879 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.892e-05/0.06316, allocations: 12.59 kB / 427.1 MB, free: 1.867 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.06346, allocations: 263.2 kB / 427.4 MB, free: 1.609 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007269/0.07072, allocations: 6.03 MB / 433.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.629e-05/0.0708, allocations: 12 kB / 433.4 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2465/0.3173, allocations: 12.52 MB / 446 MB, free: 60.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.3174, allocations: 96.88 kB / 446 MB, free: 60.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.3176, allocations: 111.1 kB / 446.2 MB, free: 60.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01852/0.3361, allocations: 8.275 MB / 454.4 MB, free: 60.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.587e-06/0.3361, allocations: 3.938 kB / 454.4 MB, free: 60.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3361, allocations: 0 / 454.4 MB, free: 60.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3362, allocations: 0 / 454.4 MB, free: 60.55 MB / 410.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.006567/0.3427, allocations: 1.635 MB / 456.1 MB, free: 59.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.3428, allocations: 8.688 kB / 456.1 MB, free: 59.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002954/0.3431, allocations: 67.3 kB / 456.1 MB, free: 59.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.3433, allocations: 184.7 kB / 456.3 MB, free: 59.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.3434, allocations: 23.94 kB / 456.3 MB, free: 59.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.3434, allocations: 26.69 kB / 456.4 MB, free: 59.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005821/0.344, allocations: 469 kB / 456.8 MB, free: 59.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.344, allocations: 0 / 456.8 MB, free: 59.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.344, allocations: 12.78 kB / 456.8 MB, free: 59.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.014e-05/0.3441, allocations: 27.28 kB / 456.9 MB, free: 59.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005374/0.3446, allocations: 495.7 kB / 457.4 MB, free: 59.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.346, allocations: 1.835 MB / 459.2 MB, free: 57.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005754/0.3466, allocations: 249.9 kB / 459.4 MB, free: 57.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.627e-05/0.3467, allocations: 84.06 kB / 459.5 MB, free: 57.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006767/0.3534, allocations: 3.682 MB / 463.2 MB, free: 57.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003686/0.3538, allocations: 284.3 kB / 463.5 MB, free: 57.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.3538, allocations: 0 / 463.5 MB, free: 57.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001843/0.3557, allocations: 0.783 MB / 464.3 MB, free: 56.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.3557, allocations: 269.3 kB / 464.5 MB, free: 56.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.3559, allocations: 280.8 kB / 464.8 MB, free: 56.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.3559, allocations: 32.45 kB / 464.8 MB, free: 56.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/0.356, allocations: 256.5 kB / 465.1 MB, free: 56.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.835e-05/0.3561, allocations: 133.8 kB / 465.2 MB, free: 56.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3562, allocations: 128.6 kB / 465.3 MB, free: 56.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.225e-05/0.3563, allocations: 0.507 MB / 465.8 MB, free: 55.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.406e-05/0.3564, allocations: 66.94 kB / 465.9 MB, free: 55.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.3567, allocations: 458.4 kB / 466.4 MB, free: 55.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/0.3572, allocations: 0.5867 MB / 466.9 MB, free: 54.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.3572, allocations: 3.438 kB / 466.9 MB, free: 54.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008697/0.3581, allocations: 0.494 MB / 467.4 MB, free: 54.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.3581, allocations: 9.406 kB / 467.4 MB, free: 54.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.3581, allocations: 12.97 kB / 467.5 MB, free: 54.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.3581, allocations: 15.66 kB / 467.5 MB, free: 54.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000432/0.3586, allocations: 179.3 kB / 467.7 MB, free: 54.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004648/0.359, allocations: 1.801 MB / 469.5 MB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.3592, allocations: 24.31 kB / 469.5 MB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.3593, allocations: 46.03 kB / 469.5 MB, free: 52.7 MB / 410.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.0001233/0.3594, allocations: 199.8 kB / 469.7 MB, free: 52.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.3596, allocations: 57.34 kB / 469.8 MB, free: 52.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007335/0.3603, allocations: 0.5012 MB / 470.3 MB, free: 52.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3603, allocations: 4.953 kB / 470.3 MB, free: 52.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3603, allocations: 0 / 470.3 MB, free: 52.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.3603, allocations: 3.328 kB / 470.3 MB, free: 52.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007426/0.3611, allocations: 0.5767 MB / 470.9 MB, free: 51.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.3611, allocations: 9.594 kB / 470.9 MB, free: 51.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.3614, allocations: 82.17 kB / 470.9 MB, free: 51.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.3614, allocations: 3.25 kB / 470.9 MB, free: 51.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.3614, allocations: 9.688 kB / 471 MB, free: 51.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003349/0.3617, allocations: 1.789 MB / 472.7 MB, free: 50.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3617, allocations: 6.844 kB / 472.8 MB, free: 50.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.3622, allocations: 383.9 kB / 473.1 MB, free: 49.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.3622, allocations: 31.44 kB / 473.2 MB, free: 49.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.3622, allocations: 10.94 kB / 473.2 MB, free: 49.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.3623, allocations: 13.42 kB / 473.2 MB, free: 49.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.3624, allocations: 26.91 kB / 473.2 MB, free: 49.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.3624, allocations: 15.62 kB / 473.2 MB, free: 49.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.3625, allocations: 198.5 kB / 473.4 MB, free: 49.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3625, allocations: 0 / 473.4 MB, free: 49.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00547/0.368, allocations: 1.712 MB / 475.1 MB, free: 49.43 MB / 410.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.007964/0.376, allocations: 2.576 MB / 477.7 MB, free: 48.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009302/0.3769, allocations: 315.6 kB / 478 MB, free: 48.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.3769, allocations: 3.094 kB / 478 MB, free: 48.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.3771, allocations: 118.2 kB / 478.1 MB, free: 48.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.3777, allocations: 128.4 kB / 478.3 MB, free: 48.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1461/0.5238, allocations: 141.2 MB / 0.6049 GB, free: 9.746 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.422e-05/0.5238, allocations: 97.75 kB / 0.605 GB, free: 9.633 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004171/0.5243, allocations: 144.1 kB / 0.6052 GB, free: 9.523 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.5244, allocations: 52.48 kB / 0.6052 GB, free: 9.477 MB / 474.7 MB Notification: Performance of SimCode: time 2.044e-06/0.5244, allocations: 0 / 0.6052 GB, free: 9.477 MB / 474.7 MB Notification: Performance of Templates: time 0.1937/0.718, allocations: 48.44 MB / 0.6525 GB, free: 152.8 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.12963540200144]