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.001637/0.001637, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002114/0.002114, allocations: 209.4 kB / 24.47 MB, free: 4.023 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.534/1.534, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2413/0.2413, allocations: 46.89 MB / 361.1 MB, free: 4.656 MB / 286.1 MB " [Timeout remaining time 179] 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.002568/0.002568, allocations: 79.86 kB / 0.4967 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4167, allocations: 65.98 MB / 0.5612 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01384/0.4306, allocations: 8.474 MB / 0.5694 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.4442, allocations: 11.23 MB / 0.5804 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.4443, allocations: 0 / 0.5804 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.4445, allocations: 43.8 kB / 0.5805 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005355/0.4499, allocations: 1.835 MB / 0.5822 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.812e-06/0.4499, allocations: 0 / 0.5822 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.45, allocations: 47.62 kB / 0.5823 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.189e-05/0.4501, allocations: 7.984 kB / 0.5823 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.4502, allocations: 31.84 kB / 0.5823 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.594e-05/0.4503, allocations: 23.81 kB / 0.5824 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.936e-06/0.4503, allocations: 0 / 0.5824 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/0.4605, allocations: 6.694 MB / 0.5889 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.4605, allocations: 7.922 kB / 0.5889 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.4606, allocations: 15.88 kB / 0.5889 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.4719, allocations: 4.635 MB / 0.5934 GB, free: 3.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.4719, allocations: 3.938 kB / 0.5934 GB, free: 3.941 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4719, allocations: 0 / 0.5934 GB, free: 3.941 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.4719, allocations: 0 / 0.5934 GB, free: 3.941 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.003261/0.4752, allocations: 0.575 MB / 0.594 GB, free: 3.316 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4752, allocations: 12.03 kB / 0.594 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.4754, allocations: 15.98 kB / 0.594 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.4755, allocations: 167 kB / 0.5942 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4755, allocations: 7.938 kB / 0.5942 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.4756, allocations: 0 / 0.5942 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.4757, allocations: 81.66 kB / 0.5943 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4757, allocations: 3.938 kB / 0.5943 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.4757, allocations: 0 / 0.5943 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.4757, allocations: 4 kB / 0.5943 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.4759, allocations: 79.89 kB / 0.5944 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.4764, allocations: 316.8 kB / 0.5947 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.926e-05/0.4764, allocations: 38.56 kB / 0.5947 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.4765, allocations: 24.92 kB / 0.5947 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003762/0.4803, allocations: 1.846 MB / 0.5965 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.4803, allocations: 46.58 kB / 0.5966 GB, free: 320 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.764e-06/0.4803, allocations: 0 / 0.5966 GB, free: 320 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003467/0.4806, allocations: 101.7 kB / 0.5967 GB, free: 212 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.4807, allocations: 55.34 kB / 0.5967 GB, free: 144 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4808, allocations: 105.8 kB / 0.5968 GB, free: 28 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.4809, allocations: 29.7 kB / 0.5969 GB, free: 15.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.4809, allocations: 88.03 kB / 0.5969 GB, free: 15.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.481, allocations: 31.73 kB / 0.597 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.481, allocations: 21.72 kB / 0.597 GB, free: 15.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4812, allocations: 319 kB / 0.5973 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.484e-05/0.4812, allocations: 24 kB / 0.5973 GB, free: 15.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.683e-05/0.4813, allocations: 37.77 kB / 0.5973 GB, free: 15.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.4814, allocations: 69.66 kB / 0.5974 GB, free: 15.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.4814, allocations: 4 kB / 0.5974 GB, free: 15.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.4816, allocations: 97.56 kB / 0.5975 GB, free: 15.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4816, allocations: 4 kB / 0.5975 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.4816, allocations: 0 / 0.5975 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4816, allocations: 0 / 0.5975 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.802e-05/0.4817, allocations: 8 kB / 0.5975 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4817, allocations: 0 / 0.5975 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.4817, allocations: 12.03 kB / 0.5975 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.4818, allocations: 4 kB / 0.5975 GB, free: 15.25 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 0.0001186/0.4819, allocations: 113.8 kB / 0.5976 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.4819, allocations: 7.953 kB / 0.5977 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.4822, allocations: 153.6 kB / 0.5978 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001528/0.4824, allocations: 109.7 kB / 0.5979 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4824, allocations: 0 / 0.5979 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4824, allocations: 8 kB / 0.5979 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005817/0.483, allocations: 434.2 kB / 0.5983 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.483, allocations: 0 / 0.5983 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.483, allocations: 19.98 kB / 0.5983 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.483, allocations: 0 / 0.5983 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.483, allocations: 3.938 kB / 0.5984 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.483, allocations: 0 / 0.5984 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.483, allocations: 0 / 0.5984 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.4833, allocations: 231.4 kB / 0.5986 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.4834, allocations: 85 kB / 0.5987 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.4834, allocations: 7.922 kB / 0.5987 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.079e-05/0.4834, allocations: 8 kB / 0.5987 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.4835, allocations: 0 / 0.5987 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4835, allocations: 4 kB / 0.5987 GB, free: 13.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.255e-05/0.4835, allocations: 87.55 kB / 0.5988 GB, free: 13.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4835, allocations: 0 / 0.5988 GB, free: 13.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002728/0.4862, allocations: 351 kB / 0.5991 GB, free: 13.54 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.01268/0.4989, allocations: 3.73 MB / 0.6027 GB, free: 9.797 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003372/0.4993, allocations: 101.6 kB / 0.6028 GB, free: 9.691 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4993, allocations: 0 / 0.6028 GB, free: 9.691 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.4994, allocations: 51.92 kB / 0.6029 GB, free: 9.641 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.4998, allocations: 36.02 kB / 0.6029 GB, free: 9.605 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.5004, allocations: 225 kB / 0.6031 GB, free: 9.359 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.5007, allocations: 0.6924 MB / 0.6038 GB, free: 8.641 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.348e-05/0.5008, allocations: 19.73 kB / 0.6038 GB, free: 8.621 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.5008, allocations: 23.36 kB / 0.6038 GB, free: 8.598 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5008, allocations: 0 / 0.6038 GB, free: 8.598 MB / 446.1 MB Notification: Performance of Templates: time 0.03017/0.531, allocations: 18.21 MB / 0.6216 GB, free: 6.355 MB / 462.1 MB " [Timeout remaining time 659] 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 cvode -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: 7.044409029185772]