Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001417/0.001417, allocations: 111 kB / 21.23 MB, free: 0.582 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.001436/0.001436, allocations: 207 kB / 24.52 MB, free: 3.855 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.445/1.445, allocations: 230.5 MB / 258.2 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] 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.2292/0.2292, allocations: 46.95 MB / 361.6 MB, free: 3.953 MB / 286.1 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.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 91.84 kB / 0.4974 GB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3287, allocations: 66.08 MB / 0.562 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01264/0.3413, allocations: 8.061 MB / 0.5698 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.3535, allocations: 9.889 MB / 0.5795 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/0.3536, allocations: 3.938 kB / 0.5795 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.3538, allocations: 39.75 kB / 0.5795 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004654/0.3584, allocations: 1.851 MB / 0.5813 GB, free: 100 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.36e-06/0.3584, allocations: 4 kB / 0.5814 GB, free: 96 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.318e-05/0.3585, allocations: 43.67 kB / 0.5814 GB, free: 52 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.3586, allocations: 7.938 kB / 0.5814 GB, free: 44 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3587, allocations: 27.91 kB / 0.5814 GB, free: 16 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.3587, allocations: 15.88 kB / 0.5814 GB, free: 0 / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.745e-06/0.3588, allocations: 112 / 0.5814 GB, free: 16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009404/0.3682, allocations: 6.592 MB / 0.5879 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.3682, allocations: 8 kB / 0.5879 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.3682, allocations: 15.77 kB / 0.5879 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.3801, allocations: 5.096 MB / 0.5929 GB, free: 4.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3802, allocations: 0 / 0.5929 GB, free: 4.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3802, allocations: 0 / 0.5929 GB, free: 4.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3802, allocations: 0 / 0.5929 GB, free: 4.27 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.003152/0.3833, allocations: 0.4997 MB / 0.5934 GB, free: 3.738 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3834, allocations: 8.031 kB / 0.5934 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.3835, allocations: 19.98 kB / 0.5934 GB, free: 3.711 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.3836, allocations: 109.1 kB / 0.5935 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3836, allocations: 4 kB / 0.5935 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.3836, allocations: 7.984 kB / 0.5935 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.3838, allocations: 77.67 kB / 0.5936 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3838, allocations: 3.938 kB / 0.5936 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3838, allocations: 0 / 0.5936 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.3838, allocations: 7.938 kB / 0.5936 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.3839, allocations: 83.89 kB / 0.5937 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.3844, allocations: 260.5 kB / 0.5939 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.919e-05/0.3845, allocations: 46.52 kB / 0.594 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.3845, allocations: 28.91 kB / 0.594 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002955/0.3875, allocations: 0.7997 MB / 0.5948 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.3875, allocations: 34.56 kB / 0.5948 GB, free: 2.176 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.3875, allocations: 4 kB / 0.5948 GB, free: 2.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003017/0.3878, allocations: 110 kB / 0.5949 GB, free: 2.059 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.3879, allocations: 51.41 kB / 0.595 GB, free: 1.996 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.388, allocations: 102 kB / 0.5951 GB, free: 1.887 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.388, allocations: 33.58 kB / 0.5951 GB, free: 1.848 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.388, allocations: 92.03 kB / 0.5952 GB, free: 1.754 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.3881, allocations: 35.66 kB / 0.5952 GB, free: 1.719 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.3881, allocations: 21.72 kB / 0.5952 GB, free: 1.691 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3882, allocations: 326.8 kB / 0.5956 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.3883, allocations: 16 kB / 0.5956 GB, free: 1.348 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.536e-05/0.3883, allocations: 37.7 kB / 0.5956 GB, free: 1.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.557e-05/0.3884, allocations: 61.72 kB / 0.5957 GB, free: 1.238 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3884, allocations: 0 / 0.5957 GB, free: 1.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001775/0.3886, allocations: 101.6 kB / 0.5958 GB, free: 1.133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3886, allocations: 4 kB / 0.5958 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3886, allocations: 7.938 kB / 0.5958 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3886, allocations: 0 / 0.5958 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.3887, allocations: 8 kB / 0.5958 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3887, allocations: 0 / 0.5958 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.3887, allocations: 0 / 0.5958 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.3888, allocations: 12.02 kB / 0.5958 GB, free: 1.102 MB / 430.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 0.0001052/0.3889, allocations: 117.8 kB / 0.5959 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.3889, allocations: 11.94 kB / 0.5959 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.3892, allocations: 145.7 kB / 0.5961 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001534/0.3893, allocations: 113.7 kB / 0.5962 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3893, allocations: 0 / 0.5962 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3893, allocations: 0 / 0.5962 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.3898, allocations: 374 kB / 0.5965 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3898, allocations: 256 / 0.5965 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-05/0.3899, allocations: 23.92 kB / 0.5965 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.3899, allocations: 4 kB / 0.5965 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3899, allocations: 4 kB / 0.5965 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3899, allocations: 7.938 kB / 0.5966 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3899, allocations: 3.938 kB / 0.5966 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.3901, allocations: 222.2 kB / 0.5968 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.3902, allocations: 12.08 kB / 0.5968 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.3902, allocations: 3.984 kB / 0.5968 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.782e-05/0.3902, allocations: 7.984 kB / 0.5968 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.3903, allocations: 11.95 kB / 0.5968 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.3903, allocations: 11.98 kB / 0.5968 GB, free: 15.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.198e-05/0.3903, allocations: 79.28 kB / 0.5969 GB, free: 15.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3903, allocations: 0 / 0.5969 GB, free: 15.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002076/0.3924, allocations: 359 kB / 0.5972 GB, free: 15.55 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.01355/0.406, allocations: 4.081 MB / 0.6012 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.4062, allocations: 109.5 kB / 0.6013 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4062, allocations: 0 / 0.6013 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.341e-05/0.4063, allocations: 52.05 kB / 0.6014 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.4067, allocations: 40.08 kB / 0.6014 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.4072, allocations: 217.6 kB / 0.6016 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.694e-05/0.4073, allocations: 79.09 kB / 0.6017 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.127e-05/0.4073, allocations: 16.11 kB / 0.6017 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.4073, allocations: 19.44 kB / 0.6017 GB, free: 10.88 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4073, allocations: 0 / 0.6017 GB, free: 10.88 MB / 446.1 MB Notification: Performance of Templates: time 0.02716/0.4345, allocations: 18.42 MB / 0.6197 GB, free: 8.438 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.44199463701807]