Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 116 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2282/0.2282, allocations: 46.92 MB / 357.8 MB, free: 10.31 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.89 kB / 0.4921 GB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1565, allocations: 65.99 MB / 0.5565 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01308/0.1696, allocations: 8.766 MB / 0.5651 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01655/0.1861, allocations: 14.1 MB / 0.5788 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.1862, allocations: 0 / 0.5788 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.1865, allocations: 51.7 kB / 0.5789 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008384/0.1949, allocations: 2.444 MB / 0.5813 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.195, allocations: 15.98 kB / 0.5813 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1952, allocations: 127.2 kB / 0.5814 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.932e-05/0.1952, allocations: 11.98 kB / 0.5814 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.1954, allocations: 63.7 kB / 0.5815 GB, free: 11.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1955, allocations: 35.86 kB / 0.5815 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1955, allocations: 4 kB / 0.5815 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01285/0.2084, allocations: 7.329 MB / 0.5887 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.2084, allocations: 19.92 kB / 0.5887 GB, free: 4.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.2086, allocations: 39.86 kB / 0.5887 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3857/0.5943, allocations: 6.33 MB / 0.5949 GB, free: 10.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.5943, allocations: 1.531 kB / 0.5949 GB, free: 10.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5943, allocations: 0 / 0.5949 GB, free: 10.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.5943, allocations: 0.75 kB / 0.5949 GB, free: 10.73 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.007484/0.6018, allocations: 0.7309 MB / 0.5956 GB, free: 10.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.6019, allocations: 11.02 kB / 0.5956 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.6021, allocations: 20.22 kB / 0.5957 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.6022, allocations: 177.7 kB / 0.5958 GB, free: 9.977 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.6023, allocations: 3.625 kB / 0.5958 GB, free: 9.977 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.6023, allocations: 7.891 kB / 0.5958 GB, free: 9.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.6027, allocations: 133.1 kB / 0.596 GB, free: 9.941 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.6028, allocations: 6.562 kB / 0.596 GB, free: 9.941 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.6028, allocations: 1.562 kB / 0.596 GB, free: 9.941 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.6028, allocations: 2.672 kB / 0.596 GB, free: 9.941 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.6032, allocations: 111.9 kB / 0.5961 GB, free: 9.941 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000714/0.6039, allocations: 0.6082 MB / 0.5967 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.6044, allocations: 130.2 kB / 0.5968 GB, free: 9.359 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.6045, allocations: 49.8 kB / 0.5969 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002877/0.6074, allocations: 1.978 MB / 0.5988 GB, free: 7.656 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004061/0.6078, allocations: 142.6 kB / 0.5989 GB, free: 7.605 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.475e-06/0.6078, allocations: 1.734 kB / 0.5989 GB, free: 7.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008909/0.6087, allocations: 227.8 kB / 0.5991 GB, free: 7.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.6087, allocations: 55.56 kB / 0.5992 GB, free: 7.508 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.6088, allocations: 108.4 kB / 0.5993 GB, free: 7.406 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.6088, allocations: 30.83 kB / 0.5993 GB, free: 7.375 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.6089, allocations: 92.28 kB / 0.5994 GB, free: 7.289 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.6089, allocations: 51.73 kB / 0.5995 GB, free: 7.258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.609, allocations: 38.44 kB / 0.5995 GB, free: 7.238 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.099e-05/0.6091, allocations: 324.4 kB / 0.5998 GB, free: 6.922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.6092, allocations: 44.77 kB / 0.5999 GB, free: 6.922 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.6094, allocations: 70.27 kB / 0.5999 GB, free: 6.906 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.6097, allocations: 105.1 kB / 0.6 GB, free: 6.891 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.6097, allocations: 2.156 kB / 0.6 GB, free: 6.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004238/0.6101, allocations: 155.3 kB / 0.6002 GB, free: 6.855 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.6101, allocations: 6.406 kB / 0.6002 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6101, allocations: 3.312 kB / 0.6002 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.6102, allocations: 1.266 kB / 0.6002 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.6103, allocations: 29.69 kB / 0.6002 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.6103, allocations: 3.547 kB / 0.6002 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.6104, allocations: 23.97 kB / 0.6002 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.6105, allocations: 8.328 kB / 0.6002 GB, free: 6.848 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 9.067e-05/0.6106, allocations: 120.6 kB / 0.6004 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.6106, allocations: 9.781 kB / 0.6004 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006709/0.6113, allocations: 347.5 kB / 0.6007 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004759/0.6118, allocations: 292.8 kB / 0.601 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.6118, allocations: 3.938 kB / 0.601 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.6118, allocations: 2.094 kB / 0.601 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.613, allocations: 0.7046 MB / 0.6017 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.613, allocations: 1.688 kB / 0.6017 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.6131, allocations: 38.7 kB / 0.6017 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.6131, allocations: 1.438 kB / 0.6017 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.6131, allocations: 7.094 kB / 0.6017 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.6131, allocations: 3.109 kB / 0.6017 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6132, allocations: 0.75 kB / 0.6017 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/0.614, allocations: 452 kB / 0.6022 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.614, allocations: 94.58 kB / 0.6022 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.614, allocations: 6.641 kB / 0.6023 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.6143, allocations: 30.16 kB / 0.6023 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.6143, allocations: 19.45 kB / 0.6023 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.6144, allocations: 8.625 kB / 0.6023 GB, free: 6.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.238e-05/0.6144, allocations: 85.22 kB / 0.6024 GB, free: 5.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6144, allocations: 2.438 kB / 0.6024 GB, free: 5.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006227/0.6206, allocations: 457.2 kB / 0.6028 GB, free: 5.902 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.02335/0.644, allocations: 4.886 MB / 0.6076 GB, free: 3.523 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006943/0.6447, allocations: 194 kB / 0.6078 GB, free: 3.488 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.6447, allocations: 1.719 kB / 0.6078 GB, free: 3.488 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002567/0.6449, allocations: 110.9 kB / 0.6079 GB, free: 3.484 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.6456, allocations: 72.92 kB / 0.608 GB, free: 3.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000924/0.6465, allocations: 427.8 kB / 0.6084 GB, free: 3.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.6467, allocations: 0.7204 MB / 0.6091 GB, free: 2.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.6468, allocations: 25.28 kB / 0.6091 GB, free: 2.566 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6468, allocations: 0 / 0.6091 GB, free: 2.566 MB / 446.1 MB Notification: Performance of Templates: time 0.03533/0.6821, allocations: 21.43 MB / 0.63 GB, free: 12.66 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 10.975523569999496]