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.001075/0.001075, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.00107/0.00107, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 0.9346/0.9346, allocations: 177 MB / 204.8 MB, free: 5.594 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.2654/0.2654, allocations: 34.86 MB / 296.3 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.373e-06/1.373e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.089e-05, allocations: 2.312 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02636/0.02638, allocations: 24.13 MB / 402.9 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009961/0.03634, allocations: 9.261 MB / 412.2 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.03646, allocations: 0 / 412.2 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.03688, allocations: 83.52 kB / 412.3 MB, free: 492 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02044/0.05732, allocations: 8.706 MB / 421 MB, free: 7.738 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007218/0.05804, allocations: 354.9 kB / 421.3 MB, free: 7.391 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007406/0.05878, allocations: 0.5177 MB / 421.8 MB, free: 6.871 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.05883, allocations: 16.59 kB / 421.9 MB, free: 6.855 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.05917, allocations: 263.3 kB / 422.1 MB, free: 6.598 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007029/0.0662, allocations: 6.026 MB / 428.1 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.868e-05/0.06626, allocations: 16 kB / 428.2 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01769/0.08395, allocations: 11.15 MB / 439.3 MB, free: 5.387 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.535e-05/0.08404, allocations: 95.7 kB / 439.4 MB, free: 5.293 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.08417, allocations: 107.8 kB / 439.5 MB, free: 5.188 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1841/0.2682, allocations: 7.526 MB / 447 MB, free: 65.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2683, allocations: 0 / 447 MB, free: 65.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2683, allocations: 0 / 447 MB, free: 65.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.2683, allocations: 0 / 447 MB, free: 65.01 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.003733/0.272, allocations: 1.527 MB / 448.6 MB, free: 64.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.272, allocations: 12.22 kB / 448.6 MB, free: 64.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.2723, allocations: 70.25 kB / 448.6 MB, free: 64.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.2725, allocations: 183.4 kB / 448.8 MB, free: 64.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.2725, allocations: 19.31 kB / 448.8 MB, free: 64.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.2726, allocations: 38.94 kB / 448.9 MB, free: 64.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.2731, allocations: 464.1 kB / 449.3 MB, free: 63.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.2731, allocations: 0 / 449.3 MB, free: 63.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.2731, allocations: 17.22 kB / 449.3 MB, free: 63.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-05/0.2732, allocations: 22.92 kB / 449.4 MB, free: 63.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004769/0.2736, allocations: 499.2 kB / 449.9 MB, free: 63.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.2749, allocations: 1.817 MB / 451.7 MB, free: 62.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.2754, allocations: 255.7 kB / 451.9 MB, free: 62.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.2754, allocations: 79.03 kB / 452 MB, free: 62.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006339/0.2818, allocations: 3.678 MB / 455.7 MB, free: 62.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003072/0.2821, allocations: 284.9 kB / 456 MB, free: 61.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.285e-06/0.2821, allocations: 3.031 kB / 456 MB, free: 61.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001449/0.2835, allocations: 0.7711 MB / 456.7 MB, free: 61.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.2836, allocations: 274.6 kB / 457 MB, free: 61.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.2837, allocations: 281.9 kB / 457.3 MB, free: 61.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.2838, allocations: 35.7 kB / 457.3 MB, free: 61.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.2838, allocations: 254.2 kB / 457.6 MB, free: 60.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.879e-05/0.2839, allocations: 135.8 kB / 457.7 MB, free: 60.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.522e-05/0.284, allocations: 128.3 kB / 457.8 MB, free: 60.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.284, allocations: 0.5045 MB / 458.3 MB, free: 60.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.043e-05/0.2841, allocations: 68.61 kB / 458.4 MB, free: 60.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.2844, allocations: 461.6 kB / 458.8 MB, free: 59.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.2848, allocations: 0.5708 MB / 459.4 MB, free: 59.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2848, allocations: 7.188 kB / 459.4 MB, free: 59.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007159/0.2855, allocations: 0.5033 MB / 459.9 MB, free: 59.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.2855, allocations: 10.44 kB / 459.9 MB, free: 59.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2855, allocations: 9.375 kB / 459.9 MB, free: 59.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.2856, allocations: 12.44 kB / 460 MB, free: 59.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.2859, allocations: 179.6 kB / 460.1 MB, free: 59.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003436/0.2863, allocations: 1.806 MB / 461.9 MB, free: 57.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.2864, allocations: 22.97 kB / 462 MB, free: 57.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.2865, allocations: 44.69 kB / 462 MB, free: 57.33 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.0001039/0.2866, allocations: 201 kB / 462.2 MB, free: 57.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.2867, allocations: 59.09 kB / 462.3 MB, free: 57.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005804/0.2873, allocations: 0.4942 MB / 462.7 MB, free: 56.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2873, allocations: 6.75 kB / 462.8 MB, free: 56.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2873, allocations: 0 / 462.8 MB, free: 56.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2873, allocations: 3.234 kB / 462.8 MB, free: 56.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006047/0.2879, allocations: 0.5672 MB / 463.3 MB, free: 56.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.2879, allocations: 6.906 kB / 463.3 MB, free: 56.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.2881, allocations: 88.95 kB / 463.4 MB, free: 56.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2882, allocations: 6.969 kB / 463.4 MB, free: 56.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.2882, allocations: 13.52 kB / 463.4 MB, free: 56.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003199/0.2885, allocations: 1.788 MB / 465.2 MB, free: 54.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2885, allocations: 3.188 kB / 465.2 MB, free: 54.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.2889, allocations: 387.1 kB / 465.6 MB, free: 54.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.2889, allocations: 30.89 kB / 465.6 MB, free: 54.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.2889, allocations: 11 kB / 465.6 MB, free: 54.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.289, allocations: 18.52 kB / 465.7 MB, free: 54.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.445e-05/0.2891, allocations: 19.42 kB / 465.7 MB, free: 54.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.2891, allocations: 19.58 kB / 465.7 MB, free: 54.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.491e-05/0.2892, allocations: 198.6 kB / 465.9 MB, free: 54.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2892, allocations: 0 / 465.9 MB, free: 54.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00431/0.2935, allocations: 1.629 MB / 467.5 MB, free: 54.07 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.005487/0.299, allocations: 2.439 MB / 470 MB, free: 53.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000801/0.2998, allocations: 305.4 kB / 470.3 MB, free: 53.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.2998, allocations: 3.406 kB / 470.3 MB, free: 53.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.3, allocations: 132.6 kB / 470.4 MB, free: 53.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.3005, allocations: 122.3 kB / 470.5 MB, free: 53.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1352/0.4357, allocations: 141.8 MB / 0.598 GB, free: 1.082 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.155e-05/0.4358, allocations: 93.75 kB / 0.5981 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003894/0.4362, allocations: 137.9 kB / 0.5982 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.4363, allocations: 56.47 kB / 0.5983 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of SimCode: time 1.513e-06/0.4363, allocations: 4 kB / 0.5983 GB, free: 0.793 MB / 458.7 MB Notification: Performance of Templates: time 0.2244/0.6607, allocations: 46.44 MB / 0.6436 GB, free: 126.7 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: 7.644626105204225]