Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 195.9 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008525/0.0008526, allocations: 100.4 kB / 299.9 MB, free: 5.363 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.336/0.336, allocations: 45.01 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002692/0.0002692, allocations: 8 kB / 470.8 MB, free: 7.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2974, allocations: 63.1 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.008265/0.3058, allocations: 7.948 MB / 0.5291 GB, free: 33.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009588/0.3154, allocations: 13.99 MB / 0.5428 GB, free: 22.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.3154, allocations: 2.625 kB / 0.5428 GB, free: 22.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.3157, allocations: 43.53 kB / 0.5428 GB, free: 22.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004249/0.3199, allocations: 1.459 MB / 0.5443 GB, free: 21.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.1e-06/0.3199, allocations: 0 / 0.5443 GB, free: 21.65 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.127e-05/0.32, allocations: 45.55 kB / 0.5443 GB, free: 21.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.3201, allocations: 3.828 kB / 0.5443 GB, free: 21.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.3202, allocations: 30.28 kB / 0.5443 GB, free: 21.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.3203, allocations: 14.81 kB / 0.5443 GB, free: 21.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.3203, allocations: 3.938 kB / 0.5443 GB, free: 21.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02136/0.3417, allocations: 15.7 MB / 0.5597 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.3417, allocations: 8.906 kB / 0.5597 GB, free: 14.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.3418, allocations: 38.11 kB / 0.5597 GB, free: 14.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02126/0.3631, allocations: 8.162 MB / 0.5677 GB, free: 6.777 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3631, allocations: 0 / 0.5677 GB, free: 6.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.3631, allocations: 0 / 0.5677 GB, free: 6.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3632, allocations: 4 kB / 0.5677 GB, free: 6.773 MB / 378.7 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.002397/0.3656, allocations: 0.546 MB / 0.5682 GB, free: 6.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3656, allocations: 8.031 kB / 0.5682 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.3657, allocations: 11.91 kB / 0.5683 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.548e-05/0.3658, allocations: 167 kB / 0.5684 GB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3658, allocations: 3.938 kB / 0.5684 GB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.3658, allocations: 8 kB / 0.5684 GB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.366, allocations: 77.66 kB / 0.5685 GB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.366, allocations: 3.984 kB / 0.5685 GB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.366, allocations: 4 kB / 0.5685 GB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.366, allocations: 7.938 kB / 0.5685 GB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.3661, allocations: 71.97 kB / 0.5686 GB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.3665, allocations: 312.7 kB / 0.5689 GB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.024e-05/0.3665, allocations: 46.56 kB / 0.5689 GB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.3666, allocations: 32.92 kB / 0.569 GB, free: 5.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002466/0.369, allocations: 1.827 MB / 0.5707 GB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.3691, allocations: 34.56 kB / 0.5708 GB, free: 3.203 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.3691, allocations: 0 / 0.5708 GB, free: 3.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002182/0.3693, allocations: 113.5 kB / 0.5709 GB, free: 3.086 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.3693, allocations: 51.41 kB / 0.5709 GB, free: 3.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.962e-05/0.3694, allocations: 101.8 kB / 0.571 GB, free: 2.914 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.3694, allocations: 25.7 kB / 0.5711 GB, free: 2.883 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.941e-05/0.3694, allocations: 91.98 kB / 0.5711 GB, free: 2.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.3694, allocations: 31.66 kB / 0.5712 GB, free: 2.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.3694, allocations: 3.938 kB / 0.5712 GB, free: 2.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.3695, allocations: 310.8 kB / 0.5715 GB, free: 2.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.925e-05/0.3695, allocations: 23.98 kB / 0.5715 GB, free: 2.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.62e-05/0.3696, allocations: 41.83 kB / 0.5715 GB, free: 2.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.511e-05/0.3696, allocations: 57.66 kB / 0.5716 GB, free: 2.309 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3696, allocations: 0 / 0.5716 GB, free: 2.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001153/0.3698, allocations: 93.62 kB / 0.5717 GB, free: 2.211 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3698, allocations: 4 kB / 0.5717 GB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3698, allocations: 0 / 0.5717 GB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3698, allocations: 7.984 kB / 0.5717 GB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.397e-05/0.3699, allocations: 8 kB / 0.5717 GB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.3699, allocations: 7.969 kB / 0.5717 GB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.3699, allocations: 0 / 0.5717 GB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3699, allocations: 4.375 kB / 0.5717 GB, free: 2.18 MB / 378.7 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.108e-05/0.37, allocations: 113.8 kB / 0.5718 GB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.37, allocations: 3.906 kB / 0.5718 GB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.3702, allocations: 149.5 kB / 0.572 GB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-05/0.3703, allocations: 113.7 kB / 0.5721 GB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.3704, allocations: 11.92 kB / 0.5721 GB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3704, allocations: 0 / 0.5721 GB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.3707, allocations: 438.1 kB / 0.5725 GB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3707, allocations: 0 / 0.5725 GB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.3707, allocations: 12 kB / 0.5725 GB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3708, allocations: 192 / 0.5725 GB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3708, allocations: 4.25 kB / 0.5725 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.3708, allocations: 11.94 kB / 0.5725 GB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3708, allocations: 7.984 kB / 0.5725 GB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.3709, allocations: 223.3 kB / 0.5728 GB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.371, allocations: 85.05 kB / 0.5728 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.371, allocations: 3.938 kB / 0.5728 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-05/0.371, allocations: 0 / 0.5728 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.3711, allocations: 11.98 kB / 0.5728 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.3711, allocations: 4 kB / 0.5729 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.428e-05/0.3711, allocations: 79.28 kB / 0.5729 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3711, allocations: 0 / 0.5729 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001662/0.3728, allocations: 351.8 kB / 0.5733 GB, free: 484 kB / 378.7 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.01688/0.3897, allocations: 3.719 MB / 0.5769 GB, free: 12.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.39, allocations: 117.5 kB / 0.577 GB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.39, allocations: 0 / 0.577 GB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.867e-05/0.3901, allocations: 51.92 kB / 0.5771 GB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.3905, allocations: 52.12 kB / 0.5771 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.391, allocations: 240.4 kB / 0.5773 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.3913, allocations: 0.6926 MB / 0.578 GB, free: 11.53 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.697e-05/0.3913, allocations: 11.94 kB / 0.578 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.3914, allocations: 15.44 kB / 0.578 GB, free: 11.51 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3914, allocations: 3.938 kB / 0.578 GB, free: 11.5 MB / 394.7 MB Notification: Performance of Templates: time 0.02653/0.4179, allocations: 17.98 MB / 0.5956 GB, free: 9.492 MB / 410.7 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","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches