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.001657/0.001657, allocations: 110.3 kB / 21.1 MB, free: 0.75 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.001762/0.001762, allocations: 208.6 kB / 24.38 MB, free: 4.156 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.514/1.514, allocations: 230.4 MB / 257.9 MB, free: 8.074 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.2345/0.2345, allocations: 46.93 MB / 361.3 MB, free: 4.316 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.002327/0.002327, allocations: 79.86 kB / 0.4971 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3146, allocations: 66.09 MB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01278/0.3273, allocations: 8.444 MB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.3412, allocations: 11.15 MB / 0.5807 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.3413, allocations: 0 / 0.5807 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.3415, allocations: 47.8 kB / 0.5808 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00488/0.3464, allocations: 1.865 MB / 0.5826 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.061e-06/0.3464, allocations: 0 / 0.5826 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.3465, allocations: 51.61 kB / 0.5826 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.3465, allocations: 4 kB / 0.5826 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.3466, allocations: 31.84 kB / 0.5827 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.704e-05/0.3467, allocations: 23.86 kB / 0.5827 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.3467, allocations: 4 kB / 0.5827 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01073/0.3574, allocations: 6.682 MB / 0.5892 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.3575, allocations: 0 / 0.5892 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.3575, allocations: 31.8 kB / 0.5893 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01408/0.3716, allocations: 5.084 MB / 0.5942 GB, free: 2.773 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.3716, allocations: 3.984 kB / 0.5942 GB, free: 2.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3716, allocations: 0 / 0.5942 GB, free: 2.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.3716, allocations: 0 / 0.5942 GB, free: 2.77 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.003027/0.3746, allocations: 0.5113 MB / 0.5947 GB, free: 2.227 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3747, allocations: 12.03 kB / 0.5947 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.3748, allocations: 4 kB / 0.5947 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3749, allocations: 117.1 kB / 0.5949 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3749, allocations: 8 kB / 0.5949 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.3749, allocations: 4 kB / 0.5949 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.3751, allocations: 73.67 kB / 0.5949 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3751, allocations: 3.938 kB / 0.5949 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3751, allocations: 4 kB / 0.5949 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3751, allocations: 4 kB / 0.5949 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3752, allocations: 79.91 kB / 0.595 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.3757, allocations: 291.8 kB / 0.5953 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.292e-05/0.3758, allocations: 38.58 kB / 0.5953 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.3758, allocations: 28.91 kB / 0.5954 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002774/0.3786, allocations: 0.8076 MB / 0.5962 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3786, allocations: 38.59 kB / 0.5962 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3786, allocations: 4 kB / 0.5962 GB, free: 0.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002924/0.3789, allocations: 109.6 kB / 0.5963 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.3789, allocations: 55.41 kB / 0.5964 GB, free: 456 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.41e-05/0.379, allocations: 101.8 kB / 0.5965 GB, free: 344 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3791, allocations: 25.7 kB / 0.5965 GB, free: 312 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.3791, allocations: 84.09 kB / 0.5966 GB, free: 224 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.3791, allocations: 35.73 kB / 0.5966 GB, free: 188 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.3792, allocations: 21.72 kB / 0.5966 GB, free: 160 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3793, allocations: 322.8 kB / 0.5969 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/0.3794, allocations: 20 kB / 0.5969 GB, free: 15.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.3794, allocations: 33.7 kB / 0.597 GB, free: 15.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.3795, allocations: 65.64 kB / 0.597 GB, free: 15.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3795, allocations: 4 kB / 0.597 GB, free: 15.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001692/0.3797, allocations: 93.58 kB / 0.5971 GB, free: 15.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3797, allocations: 8 kB / 0.5971 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3797, allocations: 0 / 0.5971 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3797, allocations: 0 / 0.5971 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/0.3798, allocations: 8 kB / 0.5971 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3798, allocations: 0 / 0.5971 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.3798, allocations: 15.92 kB / 0.5972 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.3799, allocations: 4.312 kB / 0.5972 GB, free: 15.57 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 8.873e-05/0.3799, allocations: 117.8 kB / 0.5973 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.38, allocations: 7.953 kB / 0.5973 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.3802, allocations: 153.5 kB / 0.5974 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001476/0.3804, allocations: 113.7 kB / 0.5975 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3804, allocations: 4 kB / 0.5975 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3804, allocations: 0 / 0.5975 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.3809, allocations: 413.3 kB / 0.5979 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3809, allocations: 0 / 0.5979 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.381, allocations: 23.92 kB / 0.598 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.381, allocations: 0 / 0.598 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.381, allocations: 3.938 kB / 0.598 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.381, allocations: 0 / 0.598 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.381, allocations: 4 kB / 0.598 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.3812, allocations: 223.4 kB / 0.5982 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/0.3812, allocations: 7.938 kB / 0.5982 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.3813, allocations: 7.938 kB / 0.5982 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.483e-05/0.3813, allocations: 7.984 kB / 0.5982 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.3813, allocations: 4 kB / 0.5982 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3813, allocations: 4.281 kB / 0.5982 GB, free: 14.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.055e-05/0.3814, allocations: 83.27 kB / 0.5983 GB, free: 14.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3814, allocations: 0 / 0.5983 GB, free: 14.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001912/0.3833, allocations: 366.8 kB / 0.5986 GB, free: 13.97 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.01336/0.3967, allocations: 4.077 MB / 0.6026 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.3969, allocations: 113.5 kB / 0.6027 GB, free: 9.762 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3969, allocations: 0 / 0.6027 GB, free: 9.762 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.397, allocations: 47.98 kB / 0.6028 GB, free: 9.715 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.3974, allocations: 48 kB / 0.6028 GB, free: 9.668 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.3979, allocations: 217.7 kB / 0.603 GB, free: 9.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.3982, allocations: 0.6962 MB / 0.6037 GB, free: 8.703 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.076e-05/0.3983, allocations: 19.86 kB / 0.6037 GB, free: 8.684 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.3983, allocations: 19.44 kB / 0.6037 GB, free: 8.664 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3983, allocations: 0 / 0.6037 GB, free: 8.664 MB / 446.1 MB Notification: Performance of Templates: time 0.02708/0.4254, allocations: 18.32 MB / 0.6216 GB, free: 6.309 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.67532897926867]