Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.001051/0.001051, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001389/0.001389, allocations: 160.9 kB / 24.99 MB, free: 8.805 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.043/1.043, allocations: 177 MB / 205.2 MB, free: 5.59 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.2724/0.2724, allocations: 34.86 MB / 296.6 MB, free: 0.5664 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.ReferenceAir_pT,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.901e-05, allocations: 2.312 kB / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.00931/0.009329, allocations: 11.28 MB / 390.1 MB, free: 7.055 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00861/0.01794, allocations: 11.72 MB / 401.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.474e-05/0.01803, allocations: 7.938 kB / 401.8 MB, free: 11.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.01834, allocations: 67.52 kB / 401.9 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006156/0.02449, allocations: 3.177 MB / 405 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.02475, allocations: 155.7 kB / 405.2 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003597/0.02834, allocations: 4.017 MB / 409.2 MB, free: 3.844 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.02839, allocations: 8.594 kB / 409.2 MB, free: 3.832 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.02856, allocations: 195.5 kB / 409.4 MB, free: 3.641 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006161/0.03472, allocations: 7.309 MB / 416.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.03475, allocations: 8 kB / 416.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003015/0.03776, allocations: 2.282 MB / 419 MB, free: 10.03 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.03783, allocations: 47.75 kB / 419.1 MB, free: 9.984 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.005e-05/0.03792, allocations: 95.77 kB / 419.1 MB, free: 9.891 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.03987, allocations: 1.956 MB / 421.1 MB, free: 7.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.03988, allocations: 0 / 421.1 MB, free: 7.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.03988, allocations: 0 / 421.1 MB, free: 7.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.03988, allocations: 0 / 421.1 MB, free: 7.93 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001482/0.04136, allocations: 1.012 MB / 422.1 MB, free: 6.879 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.04141, allocations: 8.031 kB / 422.1 MB, free: 6.871 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005002/0.04191, allocations: 148.3 kB / 422.3 MB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.04216, allocations: 196.2 kB / 422.5 MB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.04218, allocations: 21.03 kB / 422.5 MB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.04221, allocations: 28.38 kB / 422.5 MB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/0.04285, allocations: 483.9 kB / 423 MB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.04286, allocations: 192 / 423 MB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.04289, allocations: 16.12 kB / 423 MB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.0429, allocations: 8 kB / 423 MB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006057/0.0435, allocations: 466.4 kB / 423.5 MB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003421/0.04692, allocations: 2.931 MB / 426.4 MB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.04735, allocations: 195.8 kB / 426.6 MB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.704e-05/0.04742, allocations: 60.22 kB / 426.6 MB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2044/0.2518, allocations: 22.2 MB / 448.8 MB, free: 105.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005276/0.2523, allocations: 392.4 kB / 449.2 MB, free: 105.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.2523, allocations: 1.688 kB / 449.2 MB, free: 105.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001657/0.254, allocations: 0.8819 MB / 450.1 MB, free: 104.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.2541, allocations: 486.2 kB / 450.6 MB, free: 104.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.956e-05/0.2542, allocations: 229.9 kB / 450.8 MB, free: 104.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.2542, allocations: 32.39 kB / 450.8 MB, free: 104.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.2542, allocations: 212.1 kB / 451 MB, free: 103.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.2543, allocations: 139.2 kB / 451.2 MB, free: 103.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.2543, allocations: 99 kB / 451.3 MB, free: 103.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.397e-05/0.2544, allocations: 0.5007 MB / 451.8 MB, free: 103.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-05/0.2545, allocations: 53.55 kB / 451.8 MB, free: 103.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.2546, allocations: 402.5 kB / 452.2 MB, free: 102.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.2549, allocations: 0.5155 MB / 452.7 MB, free: 102.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2549, allocations: 2.938 kB / 452.7 MB, free: 102.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003983/0.2553, allocations: 390.7 kB / 453.1 MB, free: 102.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2553, allocations: 8.938 kB / 453.1 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.2553, allocations: 12.19 kB / 453.1 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.2553, allocations: 13.41 kB / 453.2 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.2563, allocations: 355.6 kB / 453.5 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003572/0.2567, allocations: 1.8 MB / 455.3 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.2568, allocations: 20.38 kB / 455.3 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.2568, allocations: 31.19 kB / 455.4 MB, free: 100.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * 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 9.158e-05/0.2569, allocations: 196.1 kB / 455.5 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/0.257, allocations: 49.92 kB / 455.6 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006279/0.2576, allocations: 0.7546 MB / 456.3 MB, free: 99.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.2576, allocations: 9.078 kB / 456.4 MB, free: 99.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.2576, allocations: 2.812 kB / 456.4 MB, free: 99.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2576, allocations: 3.375 kB / 456.4 MB, free: 99.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006724/0.2583, allocations: 0.9017 MB / 457.3 MB, free: 99.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2583, allocations: 2.5 kB / 457.3 MB, free: 99.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/0.2588, allocations: 155.4 kB / 457.4 MB, free: 99.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.2588, allocations: 9.375 kB / 457.4 MB, free: 99.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.2588, allocations: 6.781 kB / 457.4 MB, free: 99.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000158/0.259, allocations: 0.9115 MB / 458.3 MB, free: 98.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.259, allocations: 2.656 kB / 458.3 MB, free: 98.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.2593, allocations: 0.5188 MB / 458.9 MB, free: 97.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.2594, allocations: 30.3 kB / 458.9 MB, free: 97.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.2594, allocations: 49.34 kB / 458.9 MB, free: 97.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.2596, allocations: 13.05 kB / 459 MB, free: 97.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.2596, allocations: 24.53 kB / 459 MB, free: 97.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.2596, allocations: 15.55 kB / 459 MB, free: 97.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001734/0.2598, allocations: 307.3 kB / 459.3 MB, free: 97.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2598, allocations: 0 / 459.3 MB, free: 97.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001061/0.2608, allocations: 468.4 kB / 459.8 MB, free: 97.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001086/0.2619, allocations: 0.7417 MB / 460.5 MB, free: 97.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008005/0.2627, allocations: 354.1 kB / 460.8 MB, free: 97.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2627, allocations: 1.062 kB / 460.8 MB, free: 97.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.2631, allocations: 183.1 kB / 461 MB, free: 97.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.2636, allocations: 163.1 kB / 461.2 MB, free: 97.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9405/1.204, allocations: 0.5369 GB / 0.9873 GB, free: 94.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.347e-05/1.204, allocations: 113.8 kB / 0.9874 GB, free: 94 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004262/1.205, allocations: 175.5 kB / 0.9876 GB, free: 93.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.535e-05/1.205, allocations: 40.48 kB / 0.9876 GB, free: 93.83 MB / 442.7 MB Notification: Performance of SimCode: time 2.274e-06/1.205, allocations: 0 / 0.9876 GB, free: 93.83 MB / 442.7 MB Notification: Performance of Templates: time 0.01997/1.225, allocations: 16.12 MB / 1.003 GB, free: 77.91 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.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: 5.717778144869953]