Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001233/0.001239, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2215/0.2215, allocations: 46.12 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 87.64 kB / 417.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1131, allocations: 62.45 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01114/0.1243, allocations: 8.399 MB / 488.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.1374, allocations: 11.13 MB / 499.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.1375, allocations: 4 kB / 499.6 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.1378, allocations: 39.78 kB / 499.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005573/0.1434, allocations: 1.797 MB / 0.4897 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.857e-06/0.1434, allocations: 0 / 0.4897 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.1435, allocations: 43.69 kB / 0.4897 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.1436, allocations: 19.92 kB / 0.4898 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1437, allocations: 31.84 kB / 0.4898 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.1438, allocations: 15.94 kB / 0.4898 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1438, allocations: 4 kB / 0.4898 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/0.1548, allocations: 6.639 MB / 0.4963 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.1549, allocations: 7.938 kB / 0.4963 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.291e-05/0.1549, allocations: 15.94 kB / 0.4963 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01457/0.1695, allocations: 4.632 MB / 0.5008 GB, free: 4.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1696, allocations: 4 kB / 0.5008 GB, free: 4.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1696, allocations: 4 kB / 0.5009 GB, free: 4.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1696, allocations: 0 / 0.5009 GB, free: 4.312 MB / 382.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.002324/0.1719, allocations: 0.5576 MB / 0.5014 GB, free: 3.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.172, allocations: 8.031 kB / 0.5014 GB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1721, allocations: 7.984 kB / 0.5014 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1722, allocations: 178.9 kB / 0.5016 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1722, allocations: 4 kB / 0.5016 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.1722, allocations: 4 kB / 0.5016 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.1724, allocations: 81.67 kB / 0.5017 GB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1724, allocations: 3.938 kB / 0.5017 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1724, allocations: 0 / 0.5017 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1724, allocations: 0 / 0.5017 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.605e-05/0.1725, allocations: 75.95 kB / 0.5017 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.1729, allocations: 320.6 kB / 0.502 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.048e-05/0.173, allocations: 42.58 kB / 0.5021 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.1731, allocations: 36.91 kB / 0.5021 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003114/0.1762, allocations: 1.839 MB / 0.5039 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1762, allocations: 38.56 kB / 0.504 GB, free: 0.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.1762, allocations: 0 / 0.504 GB, free: 0.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002728/0.1765, allocations: 117.6 kB / 0.5041 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.1765, allocations: 51.41 kB / 0.5041 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.898e-05/0.1766, allocations: 93.86 kB / 0.5042 GB, free: 432 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1766, allocations: 29.7 kB / 0.5042 GB, free: 396 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.1767, allocations: 91.97 kB / 0.5043 GB, free: 300 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.1767, allocations: 27.75 kB / 0.5044 GB, free: 272 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.1768, allocations: 29.64 kB / 0.5044 GB, free: 236 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.1849/0.3617, allocations: 317.8 kB / 0.5047 GB, free: 39.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3619, allocations: 22.03 kB / 0.5047 GB, free: 39.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.692e-05/0.3619, allocations: 35.34 kB / 0.5047 GB, free: 39.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.3621, allocations: 65.08 kB / 0.5048 GB, free: 39.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3621, allocations: 0.7812 kB / 0.5048 GB, free: 39.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002677/0.3624, allocations: 94.89 kB / 0.5049 GB, free: 39.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3624, allocations: 11.3 kB / 0.5049 GB, free: 39.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3624, allocations: 1.25 kB / 0.5049 GB, free: 39.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.3625, allocations: 3.719 kB / 0.5049 GB, free: 39.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/0.3626, allocations: 9.516 kB / 0.5049 GB, free: 39.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.3626, allocations: 4.281 kB / 0.5049 GB, free: 39.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.3626, allocations: 5.75 kB / 0.5049 GB, free: 39.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.3626, allocations: 3.297 kB / 0.5049 GB, free: 39.9 MB / 382.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 8.102e-05/0.3627, allocations: 112.6 kB / 0.505 GB, free: 39.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.3628, allocations: 5.422 kB / 0.505 GB, free: 39.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.3631, allocations: 154.6 kB / 0.5052 GB, free: 39.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000183/0.3633, allocations: 116.6 kB / 0.5053 GB, free: 39.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3633, allocations: 6.375 kB / 0.5053 GB, free: 39.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3633, allocations: 0.9844 kB / 0.5053 GB, free: 39.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.3638, allocations: 435.9 kB / 0.5057 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3639, allocations: 4.734 kB / 0.5057 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.3639, allocations: 15.06 kB / 0.5057 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3639, allocations: 0 / 0.5057 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3639, allocations: 6.453 kB / 0.5057 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.364, allocations: 0 / 0.5057 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.364, allocations: 4.719 kB / 0.5058 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.3642, allocations: 227.8 kB / 0.506 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.3642, allocations: 83.72 kB / 0.506 GB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.3643, allocations: 4.109 kB / 0.5061 GB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.48e-05/0.3643, allocations: 7.656 kB / 0.5061 GB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.3644, allocations: 5.328 kB / 0.5061 GB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.3644, allocations: 6.469 kB / 0.5061 GB, free: 39.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.241e-05/0.3644, allocations: 81.58 kB / 0.5061 GB, free: 39.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3644, allocations: 0 / 0.5061 GB, free: 39.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002149/0.3666, allocations: 354.7 kB / 0.5065 GB, free: 39.09 MB / 382.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.01745/0.384, allocations: 3.712 MB / 0.5101 GB, free: 37.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003488/0.3844, allocations: 116.9 kB / 0.5102 GB, free: 37.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.3844, allocations: 5.25 kB / 0.5102 GB, free: 37.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.3845, allocations: 53.81 kB / 0.5103 GB, free: 37.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.385, allocations: 44.14 kB / 0.5103 GB, free: 37.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.3855, allocations: 216.8 kB / 0.5105 GB, free: 37.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.3856, allocations: 0.6957 MB / 0.5112 GB, free: 36.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.361e-05/0.3857, allocations: 14.03 kB / 0.5112 GB, free: 36.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.3857, allocations: 16.23 kB / 0.5112 GB, free: 36.45 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3857, allocations: 1.719 kB / 0.5112 GB, free: 36.45 MB / 382.1 MB Notification: Performance of Templates: time 0.02614/0.4119, allocations: 18.14 MB / 0.529 GB, free: 28.89 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches