Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.0009608/0.0009608, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001091/0.001091, allocations: 170.7 kB / 25.61 MB, free: 8.582 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 0.9468/0.9468, allocations: 177.2 MB / 206.1 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1319/0.1319, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.53e-05, allocations: 2.312 kB / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01132/0.01135, allocations: 8.427 MB / 385.7 MB, free: 17.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.02184, allocations: 10.87 MB / 396.5 MB, free: 6.246 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.845e-05/0.0219, allocations: 0 / 396.5 MB, free: 6.246 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.02211, allocations: 39.81 kB / 396.6 MB, free: 6.207 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.02586, allocations: 1.874 MB / 398.5 MB, free: 4.324 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.639e-06/0.02586, allocations: 0 / 398.5 MB, free: 4.324 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.207e-05/0.02594, allocations: 51.66 kB / 398.5 MB, free: 4.273 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.02598, allocations: 3.938 kB / 398.5 MB, free: 4.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.0261, allocations: 43.78 kB / 398.6 MB, free: 4.227 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.439e-05/0.02612, allocations: 11.98 kB / 398.6 MB, free: 4.215 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.845e-06/0.02613, allocations: 0 / 398.6 MB, free: 4.215 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00542/0.03155, allocations: 6.595 MB / 405.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.03157, allocations: 7.938 kB / 405.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.03159, allocations: 12 kB / 405.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006714/0.0383, allocations: 5.329 MB / 410.5 MB, free: 8.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.03831, allocations: 0 / 410.5 MB, free: 8.246 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.03831, allocations: 0 / 410.5 MB, free: 8.246 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.03831, allocations: 0 / 410.5 MB, free: 8.246 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001689/0.04, allocations: 0.6113 MB / 411.1 MB, free: 7.598 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.04004, allocations: 11.98 kB / 411.1 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.04014, allocations: 27.88 kB / 411.2 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.425e-05/0.04019, allocations: 108.1 kB / 411.3 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.0402, allocations: 0 / 411.3 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.04021, allocations: 8 kB / 411.3 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.976e-05/0.04029, allocations: 52.34 kB / 411.3 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.04029, allocations: 4 kB / 411.3 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.0403, allocations: 4 kB / 411.3 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.04031, allocations: 3.938 kB / 411.3 MB, free: 7.352 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.219e-05/0.04034, allocations: 27.98 kB / 411.4 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.0406, allocations: 284.3 kB / 411.6 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/0.04064, allocations: 42.98 kB / 411.7 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.04066, allocations: 19.69 kB / 411.7 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/0.04193, allocations: 0.8111 MB / 412.5 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.04195, allocations: 41.33 kB / 412.6 MB, free: 6.078 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.04195, allocations: 0 / 412.6 MB, free: 6.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001606/0.04211, allocations: 89.72 kB / 412.6 MB, free: 5.984 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.04214, allocations: 51.41 kB / 412.7 MB, free: 5.922 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.331e-05/0.04219, allocations: 149.9 kB / 412.8 MB, free: 5.758 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.0422, allocations: 25.7 kB / 412.9 MB, free: 5.727 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.04223, allocations: 138.8 kB / 413 MB, free: 5.586 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.04225, allocations: 31.73 kB / 413 MB, free: 5.555 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.04228, allocations: 31.36 kB / 413.1 MB, free: 5.516 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.04238, allocations: 0.4922 MB / 413.6 MB, free: 5.012 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.04239, allocations: 11.98 kB / 413.6 MB, free: 5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.04241, allocations: 31.5 kB / 413.6 MB, free: 4.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/0.04246, allocations: 59.84 kB / 413.7 MB, free: 4.895 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.04246, allocations: 4 kB / 413.7 MB, free: 4.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.721e-05/0.04255, allocations: 89.39 kB / 413.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.04256, allocations: 4 kB / 413.8 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.04256, allocations: 3.938 kB / 413.8 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/0.04257, allocations: 4 kB / 413.8 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.398e-05/0.0426, allocations: 11.94 kB / 413.8 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.04261, allocations: 3.984 kB / 413.8 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.04262, allocations: 4 kB / 413.8 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.04263, allocations: 8.031 kB / 413.8 MB, free: 4.758 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/0.04269, allocations: 152.6 kB / 413.9 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.04271, allocations: 15.88 kB / 414 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.04283, allocations: 113.5 kB / 414.1 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.583e-05/0.04289, allocations: 85.67 kB / 414.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.04289, allocations: 0 / 414.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.04289, allocations: 0 / 414.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.04314, allocations: 373.8 kB / 414.5 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.04314, allocations: 0 / 414.5 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.04317, allocations: 27.94 kB / 414.5 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.04318, allocations: 0 / 414.5 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-06/0.04318, allocations: 0 / 414.5 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.04318, allocations: 0 / 414.5 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.04318, allocations: 3.984 kB / 414.5 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.04331, allocations: 247.8 kB / 414.8 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-06/0.04331, allocations: 15.88 kB / 414.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-06/0.04332, allocations: 4 kB / 414.8 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.72e-05/0.04335, allocations: 0 / 414.8 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.04336, allocations: 11.92 kB / 414.8 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.04337, allocations: 8 kB / 414.8 MB, free: 3.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.79e-05/0.0434, allocations: 123.2 kB / 414.9 MB, free: 3.527 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0434, allocations: 0 / 414.9 MB, free: 3.527 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001114/0.04451, allocations: 359 kB / 415.3 MB, free: 3.176 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0105/0.05501, allocations: 4.167 MB / 419.5 MB, free: 14.99 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.05515, allocations: 98.67 kB / 419.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.05515, allocations: 0 / 419.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.915e-05/0.05519, allocations: 39.61 kB / 419.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.05551, allocations: 39.95 kB / 419.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.05605, allocations: 204.5 kB / 419.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.062e-05/0.0561, allocations: 67.2 kB / 419.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.534e-05/0.05614, allocations: 16.11 kB / 419.9 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.902e-05/0.05624, allocations: 106.2 kB / 420 MB, free: 14.37 MB / 346.7 MB Notification: Performance of SimCode: time 7.02e-07/0.05624, allocations: 0 / 420 MB, free: 14.37 MB / 346.7 MB Notification: Performance of Templates: time 0.02285/0.07909, allocations: 20.44 MB / 440.5 MB, free: 9.945 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.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: 4.018743105232716]