Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001307/0.001307, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.001416/0.001416, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 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.433/1.433, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2525/0.2525, allocations: 46.89 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 75.88 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3028, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01194/0.3148, allocations: 8.475 MB / 0.5695 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.3277, allocations: 11.22 MB / 0.5804 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.3277, allocations: 0 / 0.5804 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.3279, allocations: 51.78 kB / 0.5805 GB, free: 1.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004615/0.3326, allocations: 1.831 MB / 0.5823 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.191e-06/0.3326, allocations: 0 / 0.5823 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.3327, allocations: 55.59 kB / 0.5823 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.3327, allocations: 0 / 0.5823 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3328, allocations: 31.86 kB / 0.5823 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.854e-05/0.3329, allocations: 19.91 kB / 0.5824 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.705e-06/0.3329, allocations: 0 / 0.5824 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009756/0.3426, allocations: 6.686 MB / 0.5889 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.3427, allocations: 15.86 kB / 0.5889 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.3427, allocations: 15.94 kB / 0.5889 GB, free: 8.512 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01/0.3527, allocations: 4.639 MB / 0.5934 GB, free: 3.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.3527, allocations: 3.984 kB / 0.5934 GB, free: 3.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3527, allocations: 0 / 0.5934 GB, free: 3.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3527, allocations: 0 / 0.5934 GB, free: 3.863 MB / 430.1 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.002613/0.3553, allocations: 0.575 MB / 0.594 GB, free: 3.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3554, allocations: 12.03 kB / 0.594 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.3555, allocations: 8 kB / 0.594 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.3556, allocations: 175 kB / 0.5942 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3556, allocations: 0 / 0.5942 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.3557, allocations: 4 kB / 0.5942 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3558, allocations: 81.61 kB / 0.5943 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3558, allocations: 3.938 kB / 0.5943 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.3558, allocations: 0 / 0.5943 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3558, allocations: 0 / 0.5943 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.356, allocations: 79.91 kB / 0.5944 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.3564, allocations: 328.7 kB / 0.5947 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.3565, allocations: 34.56 kB / 0.5947 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.3566, allocations: 24.92 kB / 0.5947 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003625/0.3602, allocations: 1.842 MB / 0.5965 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3602, allocations: 38.61 kB / 0.5966 GB, free: 252 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.3602, allocations: 3.938 kB / 0.5966 GB, free: 248 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003044/0.3605, allocations: 105.7 kB / 0.5967 GB, free: 136 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3606, allocations: 55.34 kB / 0.5967 GB, free: 68 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.3607, allocations: 97.84 kB / 0.5968 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3607, allocations: 33.7 kB / 0.5968 GB, free: 15.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.3607, allocations: 92.03 kB / 0.5969 GB, free: 15.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.3608, allocations: 27.75 kB / 0.597 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.3608, allocations: 21.7 kB / 0.597 GB, free: 15.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.361, allocations: 318.8 kB / 0.5973 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.151e-05/0.361, allocations: 19.98 kB / 0.5973 GB, free: 15.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.987e-05/0.3611, allocations: 37.7 kB / 0.5973 GB, free: 15.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.833e-05/0.3612, allocations: 69.66 kB / 0.5974 GB, free: 15.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3612, allocations: 0 / 0.5974 GB, free: 15.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001746/0.3613, allocations: 97.89 kB / 0.5975 GB, free: 15.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3614, allocations: 4 kB / 0.5975 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3614, allocations: 4 kB / 0.5975 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3614, allocations: 3.984 kB / 0.5975 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.3614, allocations: 8 kB / 0.5975 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3614, allocations: 0 / 0.5975 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.3615, allocations: 8.031 kB / 0.5975 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.3615, allocations: 4 kB / 0.5975 GB, free: 15.18 MB / 446.1 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 9.416e-05/0.3616, allocations: 113.8 kB / 0.5976 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.3616, allocations: 3.953 kB / 0.5976 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.3619, allocations: 153.5 kB / 0.5978 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001575/0.3621, allocations: 113.7 kB / 0.5979 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3621, allocations: 3.984 kB / 0.5979 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3621, allocations: 192 / 0.5979 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.3626, allocations: 442.5 kB / 0.5983 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3626, allocations: 7.938 kB / 0.5983 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.421e-05/0.3627, allocations: 15.98 kB / 0.5983 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3627, allocations: 0 / 0.5983 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3627, allocations: 11.92 kB / 0.5984 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3627, allocations: 0 / 0.5984 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3627, allocations: 0 / 0.5984 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.3629, allocations: 227.4 kB / 0.5986 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.363, allocations: 89 kB / 0.5987 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.363, allocations: 3.938 kB / 0.5987 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.024e-05/0.3631, allocations: 4 kB / 0.5987 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.3631, allocations: 7.984 kB / 0.5987 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.3631, allocations: 4 kB / 0.5987 GB, free: 13.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.049e-05/0.3631, allocations: 75.28 kB / 0.5988 GB, free: 13.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3631, allocations: 0 / 0.5988 GB, free: 13.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001834/0.365, allocations: 362.9 kB / 0.5991 GB, free: 13.46 MB / 446.1 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.01237/0.3773, allocations: 3.714 MB / 0.6027 GB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.3776, allocations: 109.5 kB / 0.6028 GB, free: 9.617 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3776, allocations: 0 / 0.6028 GB, free: 9.617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.3777, allocations: 47.92 kB / 0.6029 GB, free: 9.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.3782, allocations: 44.12 kB / 0.6029 GB, free: 9.527 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.3786, allocations: 224.9 kB / 0.6031 GB, free: 9.281 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.379, allocations: 0.6924 MB / 0.6038 GB, free: 8.562 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.542e-05/0.3791, allocations: 23.81 kB / 0.6038 GB, free: 8.539 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.3791, allocations: 15.44 kB / 0.6038 GB, free: 8.523 MB / 446.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3791, allocations: 0 / 0.6038 GB, free: 8.523 MB / 446.1 MB Notification: Performance of Templates: time 0.02842/0.4075, allocations: 18.2 MB / 0.6216 GB, free: 6.293 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.408870100975037]