Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008824/0.0008825, allocations: 178 kB / 17.36 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009089/0.0009089, allocations: 86.25 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.00027, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2486, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001265/0.2499, allocations: 1.076 MB / 377.7 MB, free: 44.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02705/0.277, allocations: 34.29 MB / 412 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.2771, allocations: 0 / 412 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.2772, allocations: 7.922 kB / 412 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01206/0.2893, allocations: 4.571 MB / 416.5 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.29, allocations: 319 kB / 416.9 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.2901, allocations: 95.61 kB / 417 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.987e-05/0.2902, allocations: 4 kB / 417 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.606e-05/0.2903, allocations: 35.84 kB / 417 MB, free: 5.617 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.2904, allocations: 43.89 kB / 417 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.2904, allocations: 0 / 417 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01411/0.3045, allocations: 8.515 MB / 425.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.3046, allocations: 15.92 kB / 425.6 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.292e-05/0.3047, allocations: 49.61 kB / 425.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.3148, allocations: 4.409 MB / 430 MB, free: 8.559 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3148, allocations: 0 / 430 MB, free: 8.559 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3148, allocations: 0 / 430 MB, free: 8.559 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.3148, allocations: 0 / 430 MB, free: 8.559 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003032/0.3179, allocations: 0.8929 MB / 430.9 MB, free: 7.617 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3179, allocations: 12.03 kB / 430.9 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.318, allocations: 4.844 kB / 430.9 MB, free: 7.602 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.3182, allocations: 203.8 kB / 431.1 MB, free: 7.363 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.3182, allocations: 4 kB / 431.1 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.3182, allocations: 0 / 431.1 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3184, allocations: 75.33 kB / 431.2 MB, free: 7.273 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3184, allocations: 4 kB / 431.2 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3184, allocations: 0 / 431.2 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.3185, allocations: 0 / 431.2 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.3186, allocations: 35.91 kB / 431.2 MB, free: 7.234 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.3188, allocations: 202.4 kB / 431.4 MB, free: 6.984 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.3191, allocations: 93.12 kB / 431.5 MB, free: 6.875 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.021e-05/0.3192, allocations: 29.77 kB / 431.6 MB, free: 6.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.506e-05/0.3193, allocations: 11.98 kB / 431.6 MB, free: 6.828 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3193, allocations: 42.5 kB / 431.6 MB, free: 6.777 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3193, allocations: 0 / 431.6 MB, free: 6.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002971/0.3196, allocations: 97.66 kB / 431.7 MB, free: 6.676 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.3197, allocations: 81.05 kB / 431.8 MB, free: 6.578 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.3198, allocations: 133.8 kB / 431.9 MB, free: 6.438 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.3198, allocations: 29.7 kB / 432 MB, free: 6.402 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.3199, allocations: 88.12 kB / 432 MB, free: 6.312 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.3199, allocations: 19.66 kB / 432.1 MB, free: 6.293 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.3199, allocations: 0 / 432.1 MB, free: 6.293 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.32, allocations: 322.8 kB / 432.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.649e-05/0.3201, allocations: 19.98 kB / 432.4 MB, free: 5.949 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.838e-05/0.3201, allocations: 29.7 kB / 432.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.3203, allocations: 58.05 kB / 432.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3203, allocations: 3.938 kB / 432.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001734/0.3205, allocations: 69.67 kB / 432.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3205, allocations: 8 kB / 432.6 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3205, allocations: 0 / 432.6 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.3205, allocations: 4 kB / 432.6 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.304e-05/0.3206, allocations: 15.98 kB / 432.6 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3206, allocations: 8.312 kB / 432.6 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.185e-05/0.3207, allocations: 3.906 kB / 432.6 MB, free: 5.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3207, allocations: 0 / 432.6 MB, free: 5.734 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.705e-05/0.3208, allocations: 113.8 kB / 432.7 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.3208, allocations: 11.94 kB / 432.7 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.3211, allocations: 105.4 kB / 432.8 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3211, allocations: 4 kB / 432.8 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3211, allocations: 0 / 432.8 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3211, allocations: 0 / 432.8 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.3213, allocations: 181.6 kB / 433 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3213, allocations: 0 / 433 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.3214, allocations: 11.94 kB / 433 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3214, allocations: 4 kB / 433 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.3214, allocations: 4.125 kB / 433 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3214, allocations: 0 / 433 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3214, allocations: 0 / 433 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.3216, allocations: 121.8 kB / 433.1 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-05/0.3217, allocations: 96.94 kB / 433.2 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.3217, allocations: 4 kB / 433.2 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.3218, allocations: 3.984 kB / 433.2 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.3218, allocations: 8 kB / 433.2 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.3219, allocations: 8 kB / 433.3 MB, free: 4.965 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.37e-05/0.3219, allocations: 111.2 kB / 433.4 MB, free: 4.855 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3219, allocations: 0 / 433.4 MB, free: 4.855 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002805/0.3248, allocations: 0.9251 MB / 434.3 MB, free: 3.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.004908/0.3297, allocations: 1.34 MB / 435.6 MB, free: 2.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.3299, allocations: 55.91 kB / 435.7 MB, free: 2.535 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3299, allocations: 0 / 435.7 MB, free: 2.535 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.048e-05/0.33, allocations: 35.86 kB / 435.7 MB, free: 2.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.3302, allocations: 15.98 kB / 435.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.3306, allocations: 201.4 kB / 435.9 MB, free: 2.258 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3309, allocations: 0.6848 MB / 436.6 MB, free: 1.547 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.226e-05/0.331, allocations: 15.77 kB / 436.6 MB, free: 1.531 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.331, allocations: 15.44 kB / 436.6 MB, free: 1.516 MB / 314.7 MB Notification: Performance of SimCode: time 3.21e-07/0.331, allocations: 4 kB / 436.6 MB, free: 1.512 MB / 314.7 MB Notification: Performance of Templates: time 0.04118/0.3722, allocations: 28.46 MB / 465.1 MB, free: 5.016 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches