Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001582/0.001582, 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 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.001795/0.001795, allocations: 200.3 kB / 20.74 MB, free: 2.344 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.656/1.656, allocations: 230.6 MB / 254.1 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.2463/0.2463, allocations: 46.92 MB / 357.1 MB, free: 10.32 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_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_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_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.91 kB / 0.4914 GB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1351, allocations: 66 MB / 0.5558 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01275/0.1478, allocations: 8.439 MB / 0.5641 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.162, allocations: 11.22 MB / 0.575 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.1621, allocations: 0 / 0.575 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.1623, allocations: 43.8 kB / 0.5751 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006146/0.1685, allocations: 1.838 MB / 0.5769 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.322e-06/0.1685, allocations: 0 / 0.5769 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.1686, allocations: 51.61 kB / 0.5769 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.1686, allocations: 4 kB / 0.5769 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.1688, allocations: 35.84 kB / 0.577 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.919e-05/0.1688, allocations: 23.86 kB / 0.577 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.1688, allocations: 4 kB / 0.577 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01087/0.1797, allocations: 6.713 MB / 0.5836 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.1797, allocations: 4 kB / 0.5836 GB, free: 8.891 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.1798, allocations: 19.88 kB / 0.5836 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.1919, allocations: 5.096 MB / 0.5886 GB, free: 3.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1919, allocations: 0 / 0.5886 GB, free: 3.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1919, allocations: 0 / 0.5886 GB, free: 3.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.1919, allocations: 0 / 0.5886 GB, free: 3.77 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.003414/0.1953, allocations: 0.5867 MB / 0.5891 GB, free: 3.133 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.1954, allocations: 12.03 kB / 0.5891 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.1955, allocations: 7.984 kB / 0.5891 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.1958, allocations: 167 kB / 0.5893 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1958, allocations: 0 / 0.5893 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1958, allocations: 11.94 kB / 0.5893 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.196, allocations: 73.67 kB / 0.5894 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.196, allocations: 7.938 kB / 0.5894 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.196, allocations: 4 kB / 0.5894 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.196, allocations: 0 / 0.5894 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.1962, allocations: 79.95 kB / 0.5895 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006945/0.1969, allocations: 320.7 kB / 0.5898 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.673e-05/0.197, allocations: 38.52 kB / 0.5898 GB, free: 2.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.197, allocations: 28.91 kB / 0.5898 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003787/0.2008, allocations: 1.846 MB / 0.5916 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.2009, allocations: 38.5 kB / 0.5917 GB, free: 140 kB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.2009, allocations: 0 / 0.5917 GB, free: 140 kB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003304/0.2012, allocations: 109.7 kB / 0.5918 GB, free: 24 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2713/0.4725, allocations: 56.2 kB / 0.5918 GB, free: 33.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.57e-05/0.4726, allocations: 95.59 kB / 0.5919 GB, free: 33.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.4726, allocations: 26.83 kB / 0.592 GB, free: 33.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.4726, allocations: 90.03 kB / 0.592 GB, free: 33.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.4727, allocations: 29.75 kB / 0.5921 GB, free: 33.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.4727, allocations: 27.91 kB / 0.5921 GB, free: 33.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.747e-05/0.4728, allocations: 316.7 kB / 0.5924 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.204e-05/0.4728, allocations: 19.12 kB / 0.5924 GB, free: 33.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.486e-05/0.4729, allocations: 37.7 kB / 0.5925 GB, free: 33.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.612e-05/0.473, allocations: 61.73 kB / 0.5925 GB, free: 33.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.473, allocations: 2.781 kB / 0.5925 GB, free: 33.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001925/0.4732, allocations: 97.38 kB / 0.5926 GB, free: 33.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4732, allocations: 8.031 kB / 0.5926 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4732, allocations: 1.312 kB / 0.5926 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.4732, allocations: 6.062 kB / 0.5926 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.4733, allocations: 9.781 kB / 0.5926 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4733, allocations: 4.203 kB / 0.5926 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.269e-05/0.4733, allocations: 4.5 kB / 0.5926 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.4733, allocations: 3.703 kB / 0.5926 GB, free: 33.09 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 5.591e-05/0.4734, allocations: 113.7 kB / 0.5928 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.4734, allocations: 8.625 kB / 0.5928 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.4737, allocations: 148.4 kB / 0.5929 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000127/0.4738, allocations: 126.9 kB / 0.593 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4738, allocations: 4.75 kB / 0.593 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4738, allocations: 0 / 0.593 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.4742, allocations: 434.1 kB / 0.5934 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4742, allocations: 0 / 0.5934 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.436e-05/0.4743, allocations: 16.83 kB / 0.5935 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4743, allocations: 3.125 kB / 0.5935 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.4743, allocations: 1.125 kB / 0.5935 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4743, allocations: 2.594 kB / 0.5935 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4743, allocations: 2.375 kB / 0.5935 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.4745, allocations: 228.9 kB / 0.5937 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.4745, allocations: 90.3 kB / 0.5938 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.4745, allocations: 0.8438 kB / 0.5938 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.584e-05/0.4746, allocations: 5.281 kB / 0.5938 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.4746, allocations: 3.75 kB / 0.5938 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.4746, allocations: 4.969 kB / 0.5938 GB, free: 32.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.994e-05/0.4746, allocations: 80.12 kB / 0.5939 GB, free: 32.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4746, allocations: 3.969 kB / 0.5939 GB, free: 32.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002183/0.4768, allocations: 361 kB / 0.5942 GB, free: 32.27 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.0131/0.4899, allocations: 4.088 MB / 0.5982 GB, free: 30.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.4902, allocations: 113.3 kB / 0.5983 GB, free: 30.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4902, allocations: 0 / 0.5983 GB, free: 30.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.4903, allocations: 47.25 kB / 0.5984 GB, free: 30.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.4908, allocations: 38.67 kB / 0.5984 GB, free: 30.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.4912, allocations: 214.3 kB / 0.5986 GB, free: 30.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.4914, allocations: 0.6964 MB / 0.5993 GB, free: 29.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.142e-05/0.4914, allocations: 20.81 kB / 0.5993 GB, free: 29.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.4914, allocations: 16.33 kB / 0.5993 GB, free: 29.42 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4914, allocations: 1.719 kB / 0.5993 GB, free: 29.42 MB / 446.1 MB Notification: Performance of Templates: time 0.02898/0.5204, allocations: 18.25 MB / 0.6171 GB, free: 24.95 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.1807361245155334]