Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001144, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 242.5 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.216/0.216, allocations: 44.18 MB / 336.8 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.23 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1142, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01172/0.126, allocations: 8.229 MB / 477.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.1393, allocations: 11.46 MB / 488.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.1394, allocations: 4 kB / 488.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.1396, allocations: 35.8 kB / 488.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004835/0.1445, allocations: 1.448 MB / 490.4 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.42e-06/0.1445, allocations: 0 / 490.4 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.743e-05/0.1446, allocations: 47.66 kB / 490.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.1446, allocations: 4 kB / 490.4 MB, free: 9.539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.1448, allocations: 27.86 kB / 490.4 MB, free: 9.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.041e-05/0.1448, allocations: 19.92 kB / 490.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.1449, allocations: 0 / 490.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01993/0.1648, allocations: 14.38 MB / 0.493 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.1649, allocations: 3.938 kB / 0.493 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/0.1649, allocations: 15.94 kB / 0.493 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.1768, allocations: 4.296 MB / 0.4972 GB, free: 6.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1768, allocations: 0 / 0.4972 GB, free: 6.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1768, allocations: 0 / 0.4972 GB, free: 6.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1768, allocations: 0 / 0.4972 GB, free: 6.734 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.00248/0.1793, allocations: 0.5614 MB / 0.4978 GB, free: 6.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1793, allocations: 8.031 kB / 0.4978 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.1795, allocations: 23.83 kB / 0.4978 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.825e-05/0.1796, allocations: 159.1 kB / 0.498 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1796, allocations: 0 / 0.498 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1796, allocations: 8 kB / 0.498 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.1798, allocations: 73.67 kB / 0.498 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1799, allocations: 0 / 0.498 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1799, allocations: 0 / 0.498 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.1799, allocations: 11.92 kB / 0.498 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.18, allocations: 75.91 kB / 0.4981 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.1805, allocations: 312.7 kB / 0.4984 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.423e-05/0.1805, allocations: 46.58 kB / 0.4985 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.1806, allocations: 36.91 kB / 0.4985 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003364/0.184, allocations: 1.716 MB / 0.5002 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.184, allocations: 34.56 kB / 0.5002 GB, free: 3.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.184, allocations: 0 / 0.5002 GB, free: 3.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002807/0.1843, allocations: 105.6 kB / 0.5003 GB, free: 3.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.1844, allocations: 59.39 kB / 0.5004 GB, free: 3.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.361e-05/0.1844, allocations: 89.86 kB / 0.5004 GB, free: 3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1844, allocations: 25.7 kB / 0.5005 GB, free: 2.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.1845, allocations: 92.05 kB / 0.5006 GB, free: 2.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.1845, allocations: 27.55 kB / 0.5006 GB, free: 2.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.1846, allocations: 21.72 kB / 0.5006 GB, free: 2.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1847, allocations: 314.8 kB / 0.5009 GB, free: 2.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.909e-05/0.1847, allocations: 20.11 kB / 0.5009 GB, free: 2.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.849e-05/0.1848, allocations: 41.7 kB / 0.501 GB, free: 2.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.144e-05/0.1849, allocations: 65.97 kB / 0.501 GB, free: 2.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1849, allocations: 0 / 0.501 GB, free: 2.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001669/0.1851, allocations: 97.56 kB / 0.5011 GB, free: 2.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1851, allocations: 4 kB / 0.5011 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1851, allocations: 3.984 kB / 0.5011 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1851, allocations: 0 / 0.5011 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/0.1852, allocations: 12.03 kB / 0.5011 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1852, allocations: 4 kB / 0.5011 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/0.1852, allocations: 3.906 kB / 0.5011 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1853, allocations: 4 kB / 0.5011 GB, free: 2.234 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.934e-05/0.1853, allocations: 113.8 kB / 0.5013 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.1854, allocations: 7.938 kB / 0.5013 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.1857, allocations: 157.4 kB / 0.5014 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001412/0.1858, allocations: 121.7 kB / 0.5015 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1858, allocations: 0 / 0.5015 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1858, allocations: 0 / 0.5015 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.1863, allocations: 434.1 kB / 0.5019 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1863, allocations: 0 / 0.5019 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-05/0.1864, allocations: 12 kB / 0.502 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1864, allocations: 4.25 kB / 0.502 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1864, allocations: 8 kB / 0.502 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1864, allocations: 7.984 kB / 0.502 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1865, allocations: 3.938 kB / 0.502 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1867, allocations: 216 kB / 0.5022 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.1867, allocations: 89.02 kB / 0.5023 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1868, allocations: 0 / 0.5023 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.613e-05/0.1868, allocations: 0 / 0.5023 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.1868, allocations: 15.92 kB / 0.5023 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1869, allocations: 8 kB / 0.5023 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.934e-05/0.1869, allocations: 75.28 kB / 0.5024 GB, free: 0.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1869, allocations: 0 / 0.5024 GB, free: 0.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002012/0.1889, allocations: 347.8 kB / 0.5027 GB, free: 0.5352 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.1981/0.387, allocations: 3.703 MB / 0.5063 GB, free: 47.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003277/0.3874, allocations: 116.3 kB / 0.5064 GB, free: 47.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3874, allocations: 0 / 0.5064 GB, free: 47.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.197e-05/0.3875, allocations: 52.44 kB / 0.5065 GB, free: 47.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/0.388, allocations: 41.88 kB / 0.5065 GB, free: 47.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.3884, allocations: 259 kB / 0.5068 GB, free: 47.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.3886, allocations: 0.6919 MB / 0.5074 GB, free: 46.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.3886, allocations: 15.88 kB / 0.5074 GB, free: 46.53 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3886, allocations: 1 kB / 0.5075 GB, free: 46.53 MB / 382.1 MB Notification: Performance of Templates: time 0.02933/0.418, allocations: 19.19 MB / 0.5262 GB, free: 37.82 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches