Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.001362/0.001362, allocations: 116.5 kB / 20.44 MB, free: 1.469 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.001385/0.001385, allocations: 212.5 kB / 23.74 MB, free: 4.695 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.53/1.53, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.244/0.244, allocations: 46.93 MB / 360.8 MB, free: 4.184 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_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 75.88 kB / 0.4967 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3957, allocations: 66.08 MB / 0.5612 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01417/0.4099, allocations: 8.789 MB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01853/0.4285, allocations: 14.16 MB / 0.5836 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.169e-05/0.4285, allocations: 0 / 0.5836 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.4288, allocations: 59.72 kB / 0.5837 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008282/0.4371, allocations: 2.45 MB / 0.5861 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.4373, allocations: 23.89 kB / 0.5861 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.4376, allocations: 127.3 kB / 0.5862 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.236e-05/0.4377, allocations: 4 kB / 0.5862 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.4379, allocations: 67.7 kB / 0.5863 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.4381, allocations: 39.84 kB / 0.5863 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.4381, allocations: 4 kB / 0.5863 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01505/0.4531, allocations: 7.364 MB / 0.5935 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.4532, allocations: 15.92 kB / 0.5935 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.4533, allocations: 39.84 kB / 0.5936 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01708/0.4704, allocations: 6.348 MB / 0.5998 GB, free: 12.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.4704, allocations: 0 / 0.5998 GB, free: 12.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4704, allocations: 0 / 0.5998 GB, free: 12.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.4704, allocations: 0 / 0.5998 GB, free: 12.64 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.004821/0.4752, allocations: 0.6714 MB / 0.6004 GB, free: 11.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4753, allocations: 8.031 kB / 0.6004 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.4755, allocations: 23.94 kB / 0.6005 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.4756, allocations: 113.2 kB / 0.6006 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.4757, allocations: 8 kB / 0.6006 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.4757, allocations: 7.938 kB / 0.6006 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.4761, allocations: 133.5 kB / 0.6007 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.4761, allocations: 7.938 kB / 0.6007 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.4761, allocations: 7.984 kB / 0.6007 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4761, allocations: 0 / 0.6007 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.4765, allocations: 115.9 kB / 0.6008 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008489/0.4773, allocations: 0.581 MB / 0.6014 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/0.4778, allocations: 130.5 kB / 0.6015 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.478, allocations: 52.83 kB / 0.6016 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002405/0.4804, allocations: 0.636 MB / 0.6022 GB, free: 9.977 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004008/0.4808, allocations: 143.2 kB / 0.6023 GB, free: 9.824 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.4808, allocations: 0 / 0.6023 GB, free: 9.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008466/0.4816, allocations: 243.4 kB / 0.6026 GB, free: 9.582 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.4817, allocations: 51.41 kB / 0.6026 GB, free: 9.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.4818, allocations: 105.8 kB / 0.6027 GB, free: 9.406 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.4818, allocations: 25.7 kB / 0.6027 GB, free: 9.375 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.4819, allocations: 95.88 kB / 0.6028 GB, free: 9.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/0.4819, allocations: 47.58 kB / 0.6029 GB, free: 9.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-05/0.482, allocations: 33.7 kB / 0.6029 GB, free: 9.191 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4821, allocations: 326.8 kB / 0.6032 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.4823, allocations: 47.97 kB / 0.6033 GB, free: 8.816 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.4824, allocations: 68.38 kB / 0.6033 GB, free: 8.746 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.4827, allocations: 101.6 kB / 0.6034 GB, free: 8.641 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4827, allocations: 0 / 0.6034 GB, free: 8.641 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004266/0.4831, allocations: 167.8 kB / 0.6036 GB, free: 8.473 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.4831, allocations: 6.344 kB / 0.6036 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4832, allocations: 4 kB / 0.6036 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4832, allocations: 0 / 0.6036 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.4833, allocations: 23.98 kB / 0.6036 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4833, allocations: 0 / 0.6036 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.4834, allocations: 19.88 kB / 0.6036 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.4835, allocations: 12 kB / 0.6036 GB, free: 8.41 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.0001275/0.4836, allocations: 125.8 kB / 0.6038 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.4837, allocations: 7.953 kB / 0.6038 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006549/0.4843, allocations: 361.3 kB / 0.6041 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004932/0.4848, allocations: 309.5 kB / 0.6044 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4848, allocations: 0 / 0.6044 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4848, allocations: 0 / 0.6044 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.486, allocations: 0.6846 MB / 0.6051 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.486, allocations: 256 / 0.6051 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.4862, allocations: 35.98 kB / 0.6051 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4862, allocations: 4.031 kB / 0.6051 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.4862, allocations: 8 kB / 0.6051 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4862, allocations: 0 / 0.6051 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4862, allocations: 3.938 kB / 0.6051 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007768/0.487, allocations: 463.1 kB / 0.6056 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.487, allocations: 19.86 kB / 0.6056 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.487, allocations: 7.938 kB / 0.6056 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.4873, allocations: 23.97 kB / 0.6056 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.4873, allocations: 24.03 kB / 0.6056 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.4874, allocations: 8 kB / 0.6057 GB, free: 6.266 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.455e-05/0.4874, allocations: 83.27 kB / 0.6057 GB, free: 6.184 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4874, allocations: 0 / 0.6057 GB, free: 6.184 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003168/0.4906, allocations: 458.7 kB / 0.6062 GB, free: 5.734 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.01857/0.5092, allocations: 4.883 MB / 0.6109 GB, free: 0.832 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007217/0.5099, allocations: 189.5 kB / 0.6111 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.5099, allocations: 0 / 0.6111 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.5101, allocations: 107.8 kB / 0.6112 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.5107, allocations: 79.84 kB / 0.6113 GB, free: 468 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009229/0.5117, allocations: 395.2 kB / 0.6117 GB, free: 48 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.512, allocations: 0.7211 MB / 0.6124 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.5122, allocations: 44.88 kB / 0.6124 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.5122, allocations: 27.42 kB / 0.6125 GB, free: 15.22 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5122, allocations: 3.938 kB / 0.6125 GB, free: 15.22 MB / 462.1 MB Notification: Performance of Templates: time 0.03405/0.5463, allocations: 21.14 MB / 0.6331 GB, free: 10.07 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.185921388212591]