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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001281/0.00128, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 102.1 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3475/0.3475, allocations: 44.82 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 59.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3039, allocations: 62.02 MB / 0.5151 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.008746/0.3127, allocations: 8.283 MB / 0.5232 GB, free: 33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00967/0.3224, allocations: 11.49 MB / 0.5345 GB, free: 24.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.3225, allocations: 0 / 0.5345 GB, free: 24.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.3228, allocations: 45.11 kB / 0.5345 GB, free: 24.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005492/0.3283, allocations: 1.454 MB / 0.5359 GB, free: 24.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.664e-06/0.3283, allocations: 4 kB / 0.5359 GB, free: 24.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.82e-05/0.3284, allocations: 45.56 kB / 0.536 GB, free: 24.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.3285, allocations: 2.812 kB / 0.536 GB, free: 24.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.3286, allocations: 27.03 kB / 0.536 GB, free: 24.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.435e-05/0.3287, allocations: 18.11 kB / 0.536 GB, free: 24.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.314e-06/0.3287, allocations: 4 kB / 0.536 GB, free: 24.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01989/0.3486, allocations: 14.39 MB / 0.5501 GB, free: 18.83 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.3486, allocations: 0.8438 kB / 0.5501 GB, free: 18.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.423e-05/0.3487, allocations: 32.61 kB / 0.5501 GB, free: 18.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02238/0.3711, allocations: 8.166 MB / 0.5581 GB, free: 13.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3711, allocations: 4 kB / 0.5581 GB, free: 13.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3711, allocations: 0 / 0.5581 GB, free: 13.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3712, allocations: 0 / 0.5581 GB, free: 13.53 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.003792/0.375, allocations: 0.5577 MB / 0.5586 GB, free: 12.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.375, allocations: 11.97 kB / 0.5586 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.3752, allocations: 15.89 kB / 0.5587 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.614e-05/0.3752, allocations: 163 kB / 0.5588 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3753, allocations: 11.94 kB / 0.5588 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.3753, allocations: 4 kB / 0.5588 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.3754, allocations: 73.67 kB / 0.5589 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3754, allocations: 0 / 0.5589 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3754, allocations: 4 kB / 0.5589 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3754, allocations: 0 / 0.5589 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.3755, allocations: 79.89 kB / 0.559 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.3759, allocations: 308.7 kB / 0.5593 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.134e-05/0.3759, allocations: 50.56 kB / 0.5593 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.376, allocations: 32.92 kB / 0.5593 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002571/0.3786, allocations: 1.85 MB / 0.5612 GB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.3786, allocations: 30.66 kB / 0.5612 GB, free: 9.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.924e-06/0.3786, allocations: 3.938 kB / 0.5612 GB, free: 9.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002696/0.3789, allocations: 109.7 kB / 0.5613 GB, free: 9.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.3789, allocations: 51.41 kB / 0.5613 GB, free: 9.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.379, allocations: 101.8 kB / 0.5614 GB, free: 9.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.567e-06/0.379, allocations: 29.64 kB / 0.5615 GB, free: 9.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.261e-05/0.379, allocations: 92.11 kB / 0.5616 GB, free: 9.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.379, allocations: 35.59 kB / 0.5616 GB, free: 9.477 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.3791, allocations: 21.72 kB / 0.5616 GB, free: 9.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.536e-05/0.3791, allocations: 318.8 kB / 0.5619 GB, free: 9.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/0.3792, allocations: 16 kB / 0.5619 GB, free: 9.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.3792, allocations: 37.7 kB / 0.562 GB, free: 9.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.242e-05/0.3793, allocations: 66.03 kB / 0.562 GB, free: 9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3793, allocations: 3.938 kB / 0.562 GB, free: 8.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000126/0.3794, allocations: 93.61 kB / 0.5621 GB, free: 8.898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3795, allocations: 4 kB / 0.5621 GB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3795, allocations: 0 / 0.5621 GB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3795, allocations: 4 kB / 0.5621 GB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/0.3796, allocations: 8 kB / 0.5621 GB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3796, allocations: 3.938 kB / 0.5621 GB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.3796, allocations: 4.188 kB / 0.5621 GB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.3796, allocations: 4 kB / 0.5621 GB, free: 8.871 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.219e-05/0.3797, allocations: 113.9 kB / 0.5623 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.3797, allocations: 15.89 kB / 0.5623 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.3799, allocations: 149.5 kB / 0.5624 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001033/0.38, allocations: 109.7 kB / 0.5625 GB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3801, allocations: 3.938 kB / 0.5625 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3801, allocations: 0 / 0.5625 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.3804, allocations: 438.2 kB / 0.5629 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3804, allocations: 0 / 0.5629 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.3805, allocations: 19.92 kB / 0.563 GB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3805, allocations: 4 kB / 0.563 GB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3805, allocations: 0 / 0.563 GB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3805, allocations: 0 / 0.563 GB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3805, allocations: 0 / 0.563 GB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.3809, allocations: 0.8294 MB / 0.5638 GB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.3809, allocations: 88.97 kB / 0.5639 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.3809, allocations: 0 / 0.5639 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.381, allocations: 4 kB / 0.5639 GB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.381, allocations: 4 kB / 0.5639 GB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.381, allocations: 11.92 kB / 0.5639 GB, free: 6.945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.513e-05/0.3811, allocations: 79.28 kB / 0.564 GB, free: 6.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3811, allocations: 4 kB / 0.564 GB, free: 6.863 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002836/0.3839, allocations: 355.7 kB / 0.5643 GB, free: 6.516 MB / 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.01744/0.4014, allocations: 3.727 MB / 0.5679 GB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.4016, allocations: 120.8 kB / 0.5681 GB, free: 2.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4016, allocations: 0 / 0.5681 GB, free: 2.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.98e-05/0.4017, allocations: 55.92 kB / 0.5681 GB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.4021, allocations: 34.88 kB / 0.5681 GB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.4025, allocations: 369.3 kB / 0.5685 GB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.446e-05/0.4026, allocations: 0.6926 MB / 0.5692 GB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.4027, allocations: 12.12 kB / 0.5692 GB, free: 1.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.4027, allocations: 19.44 kB / 0.5692 GB, free: 1.414 MB / 378.7 MB Notification: Performance of SimCode: time 1.093e-06/0.4027, allocations: 0 / 0.5692 GB, free: 1.414 MB / 378.7 MB Notification: Performance of Templates: time 0.02645/0.4292, allocations: 18.08 MB / 0.5868 GB, free: 15.32 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@2/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