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.001857/0.001857, allocations: 115.1 kB / 20.45 MB, free: 1.172 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.002304/0.002304, allocations: 202.2 kB / 23.72 MB, free: 4.383 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.465/1.465, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.2245/0.2245, allocations: 46.94 MB / 360.8 MB, free: 3.906 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.002455/0.002455, allocations: 83.88 kB / 0.4966 GB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3669, allocations: 66.07 MB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01293/0.3798, allocations: 8.331 MB / 0.5693 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.3958, allocations: 12.4 MB / 0.5814 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.3959, allocations: 0 / 0.5814 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.3961, allocations: 39.81 kB / 0.5814 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006986/0.4031, allocations: 2.433 MB / 0.5838 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.704e-05/0.4031, allocations: 23.84 kB / 0.5838 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.4033, allocations: 127.2 kB / 0.584 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.4034, allocations: 4 kB / 0.584 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.4036, allocations: 59.83 kB / 0.584 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.4037, allocations: 55.7 kB / 0.5841 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.4037, allocations: 0 / 0.5841 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01454/0.4182, allocations: 7.267 MB / 0.5912 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.4183, allocations: 11.98 kB / 0.5912 GB, free: 5.105 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.4184, allocations: 43.8 kB / 0.5912 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0153/0.4337, allocations: 6.336 MB / 0.5974 GB, free: 14.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4337, allocations: 0 / 0.5974 GB, free: 14.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4337, allocations: 0 / 0.5974 GB, free: 14.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.4337, allocations: 0 / 0.5974 GB, free: 14.72 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.004005/0.4377, allocations: 0.6753 MB / 0.5981 GB, free: 14.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4378, allocations: 8.031 kB / 0.5981 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.438, allocations: 19.94 kB / 0.5981 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.4381, allocations: 117.1 kB / 0.5982 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.4382, allocations: 4 kB / 0.5982 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.4382, allocations: 8 kB / 0.5982 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.4387, allocations: 206.7 kB / 0.5984 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.4387, allocations: 11.94 kB / 0.5984 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.4387, allocations: 4 kB / 0.5984 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4387, allocations: 0 / 0.5984 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.4391, allocations: 115.9 kB / 0.5985 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/0.4397, allocations: 328.2 kB / 0.5989 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.4402, allocations: 126.6 kB / 0.599 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.4403, allocations: 48.83 kB / 0.599 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002405/0.4427, allocations: 0.6399 MB / 0.5996 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.4432, allocations: 230.5 kB / 0.5999 GB, free: 12.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.4432, allocations: 0 / 0.5999 GB, free: 12.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008464/0.444, allocations: 225.5 kB / 0.6001 GB, free: 11.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.444, allocations: 55.41 kB / 0.6001 GB, free: 11.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.4442, allocations: 109.8 kB / 0.6002 GB, free: 11.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.4442, allocations: 25.7 kB / 0.6003 GB, free: 11.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.4442, allocations: 99.86 kB / 0.6004 GB, free: 11.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.4443, allocations: 43.53 kB / 0.6004 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.4444, allocations: 41.7 kB / 0.6004 GB, free: 11.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4445, allocations: 326.8 kB / 0.6008 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.4447, allocations: 47.91 kB / 0.6008 GB, free: 11.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.4448, allocations: 68.42 kB / 0.6009 GB, free: 10.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.4451, allocations: 100.5 kB / 0.601 GB, free: 10.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4451, allocations: 4.188 kB / 0.601 GB, free: 10.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004191/0.4455, allocations: 161.5 kB / 0.6011 GB, free: 10.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4455, allocations: 8 kB / 0.6011 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4455, allocations: 4 kB / 0.6011 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.4456, allocations: 0 / 0.6011 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.4457, allocations: 27.97 kB / 0.6012 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4457, allocations: 3.938 kB / 0.6012 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.4458, allocations: 19.94 kB / 0.6012 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.4458, allocations: 8 kB / 0.6012 GB, free: 10.62 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.0001301/0.446, allocations: 125.7 kB / 0.6013 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.446, allocations: 7.953 kB / 0.6013 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006607/0.4467, allocations: 369.2 kB / 0.6017 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004672/0.4472, allocations: 297.6 kB / 0.602 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4472, allocations: 4 kB / 0.602 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.4472, allocations: 8.016 kB / 0.602 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.4483, allocations: 0.6344 MB / 0.6026 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4483, allocations: 8 kB / 0.6026 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.4484, allocations: 27.98 kB / 0.6026 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.4484, allocations: 7.875 kB / 0.6026 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.4485, allocations: 4 kB / 0.6026 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4485, allocations: 3.984 kB / 0.6026 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4485, allocations: 0 / 0.6026 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007796/0.4493, allocations: 463.1 kB / 0.6031 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.477e-05/0.4493, allocations: 23.94 kB / 0.6031 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.4493, allocations: 0 / 0.6031 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.4495, allocations: 31.91 kB / 0.6031 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.4496, allocations: 15.97 kB / 0.6031 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.4496, allocations: 11.98 kB / 0.6032 GB, free: 8.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.765e-05/0.4497, allocations: 87.22 kB / 0.6032 GB, free: 8.449 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4497, allocations: 0 / 0.6032 GB, free: 8.449 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003043/0.4527, allocations: 454.7 kB / 0.6037 GB, free: 8.004 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.01826/0.471, allocations: 4.889 MB / 0.6084 GB, free: 3.098 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006582/0.4716, allocations: 197.6 kB / 0.6086 GB, free: 2.898 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4716, allocations: 0 / 0.6086 GB, free: 2.898 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.4719, allocations: 103.9 kB / 0.6087 GB, free: 2.797 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.4725, allocations: 79.78 kB / 0.6088 GB, free: 2.719 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009594/0.4734, allocations: 383.2 kB / 0.6092 GB, free: 2.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.4736, allocations: 115.1 kB / 0.6093 GB, free: 2.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.4737, allocations: 48.86 kB / 0.6093 GB, free: 2.129 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.4738, allocations: 23.44 kB / 0.6094 GB, free: 2.109 MB / 446.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4738, allocations: 0 / 0.6094 GB, free: 2.109 MB / 446.1 MB Notification: Performance of Templates: time 0.03356/0.5073, allocations: 21.34 MB / 0.6302 GB, free: 12.79 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.069552121218294]