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.001936/0.001936, allocations: 119.4 kB / 17.79 MB, free: 5.285 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.002282/0.002282, allocations: 215.5 kB / 20.75 MB, free: 2.328 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.648/1.648, allocations: 230.4 MB / 254 MB, free: 15.03 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.2738/0.2738, allocations: 46.92 MB / 357 MB, free: 10.18 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.002483/0.002483, allocations: 75.88 kB / 0.4914 GB, free: 7.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1479, allocations: 66.05 MB / 0.5559 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.02028/0.1682, allocations: 8.77 MB / 0.5645 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02368/0.1919, allocations: 14.1 MB / 0.5783 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.192, allocations: 0 / 0.5783 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.1923, allocations: 43.78 kB / 0.5783 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.2024, allocations: 2.44 MB / 0.5807 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.2026, allocations: 27.88 kB / 0.5807 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003104/0.2029, allocations: 127.3 kB / 0.5808 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.376e-05/0.203, allocations: 4 kB / 0.5808 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.2032, allocations: 59.77 kB / 0.5809 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.2033, allocations: 47.77 kB / 0.5809 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.2033, allocations: 4 kB / 0.5809 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01349/0.2168, allocations: 7.325 MB / 0.5881 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.2169, allocations: 19.91 kB / 0.5881 GB, free: 3.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.217, allocations: 39.86 kB / 0.5882 GB, free: 3.914 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3569/0.5739, allocations: 6.33 MB / 0.5943 GB, free: 10.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5739, allocations: 0 / 0.5943 GB, free: 10.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5739, allocations: 0 / 0.5943 GB, free: 10.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.5739, allocations: 0.8125 kB / 0.5943 GB, free: 10.99 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.006881/0.5808, allocations: 0.7325 MB / 0.5951 GB, free: 10.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5808, allocations: 10.88 kB / 0.5951 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/0.5811, allocations: 26.3 kB / 0.5951 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.5812, allocations: 168.9 kB / 0.5953 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.5812, allocations: 6.406 kB / 0.5953 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.5813, allocations: 9.656 kB / 0.5953 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.5816, allocations: 133.5 kB / 0.5954 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.5817, allocations: 6.375 kB / 0.5954 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.5817, allocations: 5.125 kB / 0.5954 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.5817, allocations: 6.047 kB / 0.5954 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.5821, allocations: 109.5 kB / 0.5955 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.5827, allocations: 0.6042 MB / 0.5961 GB, free: 9.645 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.5832, allocations: 128.3 kB / 0.5962 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.5833, allocations: 52.5 kB / 0.5963 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002763/0.5861, allocations: 1.975 MB / 0.5982 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/0.5865, allocations: 141.3 kB / 0.5983 GB, free: 7.867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.5865, allocations: 1.969 kB / 0.5983 GB, free: 7.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008944/0.5874, allocations: 230.4 kB / 0.5986 GB, free: 7.832 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.5874, allocations: 56.25 kB / 0.5986 GB, free: 7.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.811e-05/0.5875, allocations: 107.7 kB / 0.5987 GB, free: 7.668 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.5875, allocations: 30.92 kB / 0.5987 GB, free: 7.637 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.5876, allocations: 91.77 kB / 0.5988 GB, free: 7.551 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.5876, allocations: 55.5 kB / 0.5989 GB, free: 7.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-05/0.5877, allocations: 34.61 kB / 0.5989 GB, free: 7.504 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.509e-05/0.5877, allocations: 322.3 kB / 0.5992 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.5879, allocations: 45.69 kB / 0.5993 GB, free: 7.188 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.588, allocations: 77.22 kB / 0.5993 GB, free: 7.168 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.5883, allocations: 103.6 kB / 0.5994 GB, free: 7.152 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5883, allocations: 3.5 kB / 0.5994 GB, free: 7.152 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004052/0.5887, allocations: 154.5 kB / 0.5996 GB, free: 7.117 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5887, allocations: 10.16 kB / 0.5996 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5887, allocations: 0 / 0.5996 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.5888, allocations: 2.578 kB / 0.5996 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.5889, allocations: 25.02 kB / 0.5996 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5889, allocations: 5.219 kB / 0.5996 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.589, allocations: 28.52 kB / 0.5997 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.5891, allocations: 4.516 kB / 0.5997 GB, free: 7.109 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_check.phase,p,$PRE.p,state.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 8.615e-05/0.5891, allocations: 127.8 kB / 0.5998 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.5892, allocations: 6.25 kB / 0.5998 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006524/0.5899, allocations: 349.4 kB / 0.6001 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004956/0.5904, allocations: 294.8 kB / 0.6004 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.5904, allocations: 6.094 kB / 0.6004 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5904, allocations: 0.7031 kB / 0.6004 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.5915, allocations: 0.7066 MB / 0.6011 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.5915, allocations: 0.75 kB / 0.6011 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.5917, allocations: 29.09 kB / 0.6011 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5917, allocations: 0.7188 kB / 0.6011 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.5917, allocations: 10.61 kB / 0.6011 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.5917, allocations: 1.531 kB / 0.6011 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5917, allocations: 2.328 kB / 0.6011 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008436/0.5925, allocations: 453.7 kB / 0.6016 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.5926, allocations: 96.84 kB / 0.6017 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.5926, allocations: 4.5 kB / 0.6017 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.5928, allocations: 31.44 kB / 0.6017 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.599e-05/0.5929, allocations: 16.84 kB / 0.6017 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.5929, allocations: 12.34 kB / 0.6017 GB, free: 6.316 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.756e-05/0.593, allocations: 82.47 kB / 0.6018 GB, free: 6.242 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.593, allocations: 0 / 0.6018 GB, free: 6.242 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005838/0.5988, allocations: 459.8 kB / 0.6023 GB, free: 6.164 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,p,state_check.phase,dT) * 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.02473/0.6235, allocations: 4.887 MB / 0.607 GB, free: 3.781 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006446/0.6242, allocations: 191.5 kB / 0.6072 GB, free: 3.742 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.6242, allocations: 0.7812 kB / 0.6072 GB, free: 3.742 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.6244, allocations: 105.3 kB / 0.6073 GB, free: 3.742 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006479/0.6251, allocations: 75.48 kB / 0.6074 GB, free: 3.734 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008921/0.6259, allocations: 397.4 kB / 0.6078 GB, free: 3.551 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.6261, allocations: 0.7203 MB / 0.6085 GB, free: 2.852 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.6263, allocations: 58.12 kB / 0.6085 GB, free: 2.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.6263, allocations: 25.86 kB / 0.6085 GB, free: 2.836 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6263, allocations: 0 / 0.6085 GB, free: 2.836 MB / 446.1 MB Notification: Performance of Templates: time 0.03183/0.6581, allocations: 20.97 MB / 0.629 GB, free: 13.02 MB / 462.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.303075227886438]