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_high_T.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.002013/0.002013, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002931/0.002931, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.52/1.52, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.23/0.23, allocations: 46.93 MB / 361.6 MB, free: 4.184 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_high_T,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_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,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_high_T") [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.002346/0.002346, allocations: 79.86 kB / 0.4975 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3195, allocations: 66.09 MB / 0.562 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01297/0.3325, allocations: 8.486 MB / 0.5703 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.3464, allocations: 11.27 MB / 0.5813 GB, free: 416 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.3464, allocations: 4 kB / 0.5813 GB, free: 412 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.3467, allocations: 51.72 kB / 0.5813 GB, free: 360 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005545/0.3522, allocations: 1.853 MB / 0.5831 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.315e-06/0.3522, allocations: 0 / 0.5831 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.3523, allocations: 55.59 kB / 0.5832 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.3524, allocations: 7.938 kB / 0.5832 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.3525, allocations: 23.92 kB / 0.5832 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.3526, allocations: 23.84 kB / 0.5832 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.3526, allocations: 8 kB / 0.5833 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01091/0.3635, allocations: 6.748 MB / 0.5898 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.3635, allocations: 4 kB / 0.5898 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.3636, allocations: 15.88 kB / 0.5899 GB, free: 7.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01277/0.3763, allocations: 5.1 MB / 0.5948 GB, free: 2.492 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.3763, allocations: 0 / 0.5948 GB, free: 2.492 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3763, allocations: 0 / 0.5948 GB, free: 2.492 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.3764, allocations: 4 kB / 0.5948 GB, free: 2.488 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.002757/0.3791, allocations: 0.5113 MB / 0.5953 GB, free: 1.945 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3792, allocations: 8.031 kB / 0.5954 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.3793, allocations: 11.98 kB / 0.5954 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3794, allocations: 113.1 kB / 0.5955 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3794, allocations: 0 / 0.5955 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.3794, allocations: 4 kB / 0.5955 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3796, allocations: 77.67 kB / 0.5956 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3796, allocations: 7.938 kB / 0.5956 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.3796, allocations: 0 / 0.5956 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.3796, allocations: 0 / 0.5956 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.3797, allocations: 87.95 kB / 0.5956 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.3802, allocations: 295.8 kB / 0.5959 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.962e-05/0.3803, allocations: 38.56 kB / 0.596 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.3804, allocations: 24.92 kB / 0.596 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002908/0.3833, allocations: 0.8076 MB / 0.5968 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.3833, allocations: 30.56 kB / 0.5968 GB, free: 364 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.3833, allocations: 0 / 0.5968 GB, free: 364 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003253/0.3836, allocations: 114 kB / 0.5969 GB, free: 244 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.3837, allocations: 59.34 kB / 0.597 GB, free: 172 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.3838, allocations: 101.8 kB / 0.5971 GB, free: 60 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.3838, allocations: 25.7 kB / 0.5971 GB, free: 28 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.3839, allocations: 92.09 kB / 0.5972 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.3839, allocations: 19.75 kB / 0.5972 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.3839, allocations: 29.7 kB / 0.5972 GB, free: 15.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3841, allocations: 318.8 kB / 0.5975 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.3841, allocations: 23.92 kB / 0.5976 GB, free: 15.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.3842, allocations: 45.83 kB / 0.5976 GB, free: 15.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.3843, allocations: 57.72 kB / 0.5977 GB, free: 15.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3843, allocations: 0 / 0.5977 GB, free: 15.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001745/0.3845, allocations: 97.58 kB / 0.5977 GB, free: 15.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3845, allocations: 4 kB / 0.5977 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3845, allocations: 0 / 0.5977 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3845, allocations: 4 kB / 0.5978 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.3846, allocations: 15.92 kB / 0.5978 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3846, allocations: 4.031 kB / 0.5978 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.158e-05/0.3846, allocations: 3.938 kB / 0.5978 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.3846, allocations: 4 kB / 0.5978 GB, free: 15.29 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.52e-05/0.3847, allocations: 113.8 kB / 0.5979 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.3848, allocations: 7.953 kB / 0.5979 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.385, allocations: 149.7 kB / 0.598 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000164/0.3852, allocations: 125.1 kB / 0.5982 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3852, allocations: 0 / 0.5982 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3852, allocations: 7.984 kB / 0.5982 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.3857, allocations: 405.3 kB / 0.5986 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3857, allocations: 0 / 0.5986 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.3858, allocations: 19.94 kB / 0.5986 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3858, allocations: 4 kB / 0.5986 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3858, allocations: 3.938 kB / 0.5986 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3858, allocations: 0 / 0.5986 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3858, allocations: 0 / 0.5986 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.3861, allocations: 231.5 kB / 0.5988 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.3861, allocations: 3.938 kB / 0.5988 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.3861, allocations: 7.938 kB / 0.5988 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.578e-05/0.3862, allocations: 4 kB / 0.5988 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.3862, allocations: 11.92 kB / 0.5988 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3862, allocations: 0 / 0.5988 GB, free: 14.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.862e-05/0.3862, allocations: 79.28 kB / 0.5989 GB, free: 14.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3862, allocations: 288 / 0.5989 GB, free: 14.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001997/0.3882, allocations: 370.9 kB / 0.5993 GB, free: 13.69 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.01339/0.4016, allocations: 4.1 MB / 0.6033 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003112/0.4019, allocations: 105.6 kB / 0.6034 GB, free: 9.465 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4019, allocations: 0 / 0.6034 GB, free: 9.465 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.249e-05/0.402, allocations: 43.98 kB / 0.6034 GB, free: 9.422 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.4024, allocations: 36.03 kB / 0.6034 GB, free: 9.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.4029, allocations: 221.6 kB / 0.6036 GB, free: 9.141 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.4032, allocations: 0.6963 MB / 0.6043 GB, free: 8.418 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.14e-05/0.4033, allocations: 15.88 kB / 0.6043 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.4033, allocations: 15.44 kB / 0.6044 GB, free: 8.387 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4033, allocations: 0 / 0.6044 GB, free: 8.387 MB / 446.1 MB Notification: Performance of Templates: time 0.02753/0.4308, allocations: 18.33 MB / 0.6223 GB, free: 6.027 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.768087552860379]