Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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) 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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009265/0.0009267, allocations: 192.7 kB / 17.43 MB, free: 4.238 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008453/0.0008454, allocations: 93.53 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002262/0.0002263, allocations: 8 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.194, allocations: 51.42 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.000996/0.195, allocations: 1.084 MB / 413.1 MB, free: 24.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03312/0.2282, allocations: 34.46 MB / 447.6 MB, free: 3.809 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.2283, allocations: 0 / 447.6 MB, free: 3.809 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.2284, allocations: 11.98 kB / 447.6 MB, free: 3.797 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01488/0.2433, allocations: 5.365 MB / 453 MB, free: 14.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000672/0.244, allocations: 319 kB / 453.3 MB, free: 14 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.2441, allocations: 99.61 kB / 453.4 MB, free: 13.9 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.2442, allocations: 0 / 453.4 MB, free: 13.9 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.013e-05/0.2442, allocations: 31.91 kB / 453.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.904e-05/0.2443, allocations: 47.83 kB / 453.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.2444, allocations: 4 kB / 453.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01371/0.2581, allocations: 8.636 MB / 462.1 MB, free: 5.164 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.2581, allocations: 11.98 kB / 462.1 MB, free: 5.152 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.2582, allocations: 53.56 kB / 462.2 MB, free: 5.094 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008737/0.267, allocations: 4.44 MB / 466.6 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.267, allocations: 7.938 kB / 466.6 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.267, allocations: 0 / 466.6 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.267, allocations: 0 / 466.6 MB, free: 0.6367 MB / 330.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.00204/0.2691, allocations: 0.8969 MB / 467.5 MB, free: 15.69 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2691, allocations: 12.03 kB / 467.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.2692, allocations: 8.844 kB / 467.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.2693, allocations: 207.7 kB / 467.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.2694, allocations: 0 / 467.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.2694, allocations: 0 / 467.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.2696, allocations: 71.39 kB / 467.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2696, allocations: 7.984 kB / 467.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2696, allocations: 0 / 467.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2696, allocations: 0 / 467.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.2698, allocations: 31.92 kB / 467.8 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/0.27, allocations: 194.5 kB / 468 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.2703, allocations: 93.17 kB / 468.1 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.463e-05/0.2704, allocations: 37.7 kB / 468.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.74e-05/0.2705, allocations: 15.92 kB / 468.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.2705, allocations: 38.56 kB / 468.2 MB, free: 14.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2705, allocations: 0 / 468.2 MB, free: 14.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002919/0.2708, allocations: 97.59 kB / 468.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.2709, allocations: 85.09 kB / 468.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.271, allocations: 133.8 kB / 468.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.271, allocations: 29.7 kB / 468.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.2711, allocations: 84.14 kB / 468.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.2711, allocations: 19.66 kB / 468.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.2711, allocations: 4 kB / 468.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.2712, allocations: 322.8 kB / 469 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.2713, allocations: 20.36 kB / 469 MB, free: 14.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.905e-05/0.2713, allocations: 29.7 kB / 469 MB, free: 13.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.2715, allocations: 54.02 kB / 469.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2715, allocations: 0 / 469.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001695/0.2717, allocations: 89.44 kB / 469.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2717, allocations: 4 kB / 469.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2717, allocations: 0 / 469.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2717, allocations: 4 kB / 469.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.727e-05/0.2718, allocations: 19.98 kB / 469.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2718, allocations: 0 / 469.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.905e-05/0.2718, allocations: 0 / 469.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.2719, allocations: 4 kB / 469.2 MB, free: 13.8 MB / 346.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 7.98e-05/0.2719, allocations: 113.7 kB / 469.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.272, allocations: 15.89 kB / 469.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.2722, allocations: 97.48 kB / 469.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2722, allocations: 4 kB / 469.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2722, allocations: 0 / 469.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2722, allocations: 0 / 469.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.2724, allocations: 181.6 kB / 469.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2724, allocations: 0 / 469.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.2725, allocations: 15.94 kB / 469.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.2725, allocations: 3.984 kB / 469.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2725, allocations: 0 / 469.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2725, allocations: 0 / 469.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2725, allocations: 7.938 kB / 469.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.2727, allocations: 117.8 kB / 469.7 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.2728, allocations: 97.02 kB / 469.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.2728, allocations: 0 / 469.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.2729, allocations: 4 kB / 469.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.2729, allocations: 7.984 kB / 469.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.2729, allocations: 4.188 kB / 469.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.04e-05/0.273, allocations: 115.2 kB / 469.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.273, allocations: 0 / 469.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002316/0.2754, allocations: 0.9485 MB / 470.9 MB, free: 11.98 MB / 346.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.004484/0.2798, allocations: 1.353 MB / 472.3 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.2801, allocations: 47.97 kB / 472.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2801, allocations: 0 / 472.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.898e-05/0.2801, allocations: 24.2 kB / 472.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.2804, allocations: 19.92 kB / 472.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.2808, allocations: 217.2 kB / 472.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.2811, allocations: 0.6874 MB / 473.2 MB, free: 9.578 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.449e-05/0.2811, allocations: 11.98 kB / 473.3 MB, free: 9.566 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.2812, allocations: 15.42 kB / 473.3 MB, free: 9.551 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2812, allocations: 4 kB / 473.3 MB, free: 9.547 MB / 346.7 MB Notification: Performance of Templates: time 0.03546/0.3166, allocations: 27.18 MB / 0.4887 GB, free: 14.33 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches