Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.0016/0.0016, allocations: 108.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001937/0.001937, allocations: 210 kB / 24.49 MB, free: 4.148 MB / 14.72 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 1.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2312/0.2312, allocations: 46.95 MB / 361.6 MB, free: 4.258 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+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_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 67.89 kB / 0.4974 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2989, allocations: 66.03 MB / 0.5619 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01241/0.3113, allocations: 8.798 MB / 0.5705 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01645/0.3277, allocations: 14.15 MB / 0.5843 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.3278, allocations: 4 kB / 0.5843 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.328, allocations: 47.73 kB / 0.5843 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006877/0.3349, allocations: 2.458 MB / 0.5867 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001115/0.335, allocations: 23.95 kB / 0.5868 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.3352, allocations: 123.2 kB / 0.5869 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.3353, allocations: 3.984 kB / 0.5869 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.3355, allocations: 67.77 kB / 0.5869 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.957e-05/0.3356, allocations: 39.84 kB / 0.587 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.3356, allocations: 4 kB / 0.587 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/0.3481, allocations: 7.364 MB / 0.5942 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.3482, allocations: 19.86 kB / 0.5942 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3483, allocations: 47.84 kB / 0.5942 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01515/0.3634, allocations: 6.332 MB / 0.6004 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.3634, allocations: 0 / 0.6004 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3634, allocations: 4 kB / 0.6004 GB, free: 12.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3635, allocations: 3.984 kB / 0.6004 GB, free: 12.8 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.004193/0.3677, allocations: 0.6714 MB / 0.6011 GB, free: 12.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3677, allocations: 8.031 kB / 0.6011 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/0.3679, allocations: 23.94 kB / 0.6011 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.368, allocations: 113.1 kB / 0.6012 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3681, allocations: 4 kB / 0.6012 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.3681, allocations: 12 kB / 0.6012 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.3685, allocations: 129.6 kB / 0.6014 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3685, allocations: 7.922 kB / 0.6014 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.3685, allocations: 4 kB / 0.6014 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3685, allocations: 4 kB / 0.6014 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.3688, allocations: 111.9 kB / 0.6015 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007597/0.3696, allocations: 0.581 MB / 0.6021 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.37, allocations: 134.5 kB / 0.6022 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.3702, allocations: 52.77 kB / 0.6022 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002201/0.3724, allocations: 0.636 MB / 0.6029 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003614/0.3727, allocations: 139.2 kB / 0.603 GB, free: 9.992 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.3727, allocations: 4 kB / 0.603 GB, free: 9.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008034/0.3735, allocations: 236 kB / 0.6032 GB, free: 9.754 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.3736, allocations: 59.34 kB / 0.6033 GB, free: 9.684 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.696e-05/0.3737, allocations: 101.8 kB / 0.6034 GB, free: 9.574 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.3737, allocations: 33.7 kB / 0.6034 GB, free: 9.535 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.3738, allocations: 91.88 kB / 0.6035 GB, free: 9.441 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.3738, allocations: 47.58 kB / 0.6035 GB, free: 9.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.3739, allocations: 41.7 kB / 0.6036 GB, free: 9.348 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.374, allocations: 322.8 kB / 0.6039 GB, free: 9.023 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3741, allocations: 47.91 kB / 0.6039 GB, free: 8.977 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.3743, allocations: 57.69 kB / 0.604 GB, free: 8.914 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.3746, allocations: 109.7 kB / 0.6041 GB, free: 8.801 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3746, allocations: 256 / 0.6041 GB, free: 8.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000408/0.375, allocations: 160.1 kB / 0.6042 GB, free: 8.641 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.375, allocations: 8 kB / 0.6043 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.375, allocations: 4 kB / 0.6043 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.375, allocations: 0 / 0.6043 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3751, allocations: 23.92 kB / 0.6043 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.3751, allocations: 11.94 kB / 0.6043 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.3752, allocations: 23.88 kB / 0.6043 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.3753, allocations: 4 kB / 0.6043 GB, free: 8.566 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: 9 (dT,$PRE.dT,state.phase,p,$PRE.p,state_check.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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 0.0001053/0.3754, allocations: 121.8 kB / 0.6044 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.3754, allocations: 7.953 kB / 0.6044 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/0.376, allocations: 357.4 kB / 0.6048 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004471/0.3765, allocations: 303.3 kB / 0.6051 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3765, allocations: 0 / 0.6051 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3765, allocations: 0 / 0.6051 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.3776, allocations: 0.6885 MB / 0.6057 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3776, allocations: 3.984 kB / 0.6057 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.3777, allocations: 31.91 kB / 0.6058 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3777, allocations: 7.938 kB / 0.6058 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.3778, allocations: 4 kB / 0.6058 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3778, allocations: 0 / 0.6058 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3778, allocations: 4 kB / 0.6058 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007221/0.3785, allocations: 451.2 kB / 0.6062 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.3785, allocations: 19.86 kB / 0.6062 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.3785, allocations: 11.94 kB / 0.6063 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.3787, allocations: 28.03 kB / 0.6063 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.3788, allocations: 19.97 kB / 0.6063 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.3788, allocations: 8 kB / 0.6063 GB, free: 6.441 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.941e-05/0.3789, allocations: 87.27 kB / 0.6064 GB, free: 6.355 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3789, allocations: 0 / 0.6064 GB, free: 6.355 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002813/0.3817, allocations: 458.6 kB / 0.6068 GB, free: 5.906 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,dT,state_check.phase,p) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.01696/0.3986, allocations: 4.883 MB / 0.6116 GB, free: 1.004 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005638/0.3992, allocations: 197.4 kB / 0.6118 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3992, allocations: 0 / 0.6118 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.3994, allocations: 107.8 kB / 0.6119 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.4, allocations: 78.19 kB / 0.612 GB, free: 0.625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008462/0.4008, allocations: 427.3 kB / 0.6124 GB, free: 184 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.4012, allocations: 0.7212 MB / 0.6131 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.4013, allocations: 23.44 kB / 0.6131 GB, free: 15.41 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4013, allocations: 0 / 0.6131 GB, free: 15.41 MB / 462.1 MB Notification: Performance of Templates: time 0.02887/0.4301, allocations: 21.42 MB / 0.634 GB, free: 9.961 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_pTX_phX_all/R134a_pTX_phX_all.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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: 9.90157795092091]