Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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) 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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 115.6 kB / 17.06 MB, free: 5.996 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.001032/0.001033, allocations: 192 kB / 18 MB, free: 5.074 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 47.92 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2806, allocations: 49.42 MB / 400.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.003798/0.2845, allocations: 1.367 MB / 402.1 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04326/0.3278, allocations: 23.54 MB / 425.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.574e-05/0.3279, allocations: 0 / 425.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.328, allocations: 7.922 kB / 425.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01625/0.3444, allocations: 5.979 MB / 431.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007155/0.3451, allocations: 342.8 kB / 431.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.3452, allocations: 71.7 kB / 432 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.3453, allocations: 7.984 kB / 432 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.227e-05/0.3453, allocations: 35.84 kB / 432.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/0.3454, allocations: 31.91 kB / 432.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.3454, allocations: 4 kB / 432.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01488/0.3603, allocations: 8.863 MB / 441 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.3604, allocations: 19.91 kB / 441 MB, free: 500 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.3605, allocations: 31.81 kB / 441 MB, free: 468 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009774/0.3703, allocations: 4.373 MB / 445.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3703, allocations: 0 / 445.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3703, allocations: 0 / 445.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.3703, allocations: 0 / 445.4 MB, free: 12.07 MB / 366.1 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.00238/0.3727, allocations: 0.9472 MB / 446.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3728, allocations: 8.031 kB / 446.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.3728, allocations: 4.938 kB / 446.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.373, allocations: 195.9 kB / 446.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.373, allocations: 4 kB / 446.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.3731, allocations: 4 kB / 446.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.3733, allocations: 71.33 kB / 446.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.3733, allocations: 0 / 446.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3733, allocations: 0 / 446.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3733, allocations: 4 kB / 446.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.3735, allocations: 43.89 kB / 446.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.3737, allocations: 198.4 kB / 446.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.374, allocations: 97.19 kB / 446.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.3741, allocations: 29.7 kB / 447 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.857e-05/0.3742, allocations: 11.98 kB / 447 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3742, allocations: 38.56 kB / 447 MB, free: 10.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3742, allocations: 0 / 447 MB, free: 10.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003265/0.3746, allocations: 93.59 kB / 447.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3746, allocations: 81.11 kB / 447.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.3747, allocations: 141.8 kB / 447.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.3748, allocations: 25.7 kB / 447.4 MB, free: 9.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.3748, allocations: 92.14 kB / 447.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.3748, allocations: 15.84 kB / 447.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.3749, allocations: 17.72 kB / 447.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.375, allocations: 326.8 kB / 447.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/0.3751, allocations: 16 kB / 447.8 MB, free: 9.391 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.417e-05/0.3751, allocations: 29.7 kB / 447.8 MB, free: 9.355 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.3753, allocations: 57.69 kB / 447.9 MB, free: 9.293 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3753, allocations: 3.938 kB / 447.9 MB, free: 9.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001763/0.3755, allocations: 81.56 kB / 448 MB, free: 9.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3755, allocations: 4 kB / 448 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3755, allocations: 0 / 448 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3755, allocations: 0 / 448 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.3756, allocations: 19.98 kB / 448 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3756, allocations: 0 / 448 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.3756, allocations: 3.938 kB / 448 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3757, allocations: 8 kB / 448 MB, free: 9.168 MB / 366.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: 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.609e-05/0.3757, allocations: 117.7 kB / 448.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.3758, allocations: 12.42 kB / 448.1 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.376, allocations: 97.47 kB / 448.2 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.376, allocations: 0 / 448.2 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.376, allocations: 0 / 448.2 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.376, allocations: 4.375 kB / 448.2 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.3762, allocations: 181.6 kB / 448.4 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3762, allocations: 8 kB / 448.4 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.548e-05/0.3763, allocations: 8 kB / 448.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3763, allocations: 3.938 kB / 448.4 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.3763, allocations: 0 / 448.4 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3763, allocations: 7.984 kB / 448.5 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3763, allocations: 0 / 448.5 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.3765, allocations: 117.8 kB / 448.6 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.3766, allocations: 89.09 kB / 448.7 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3766, allocations: 4 kB / 448.7 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.3767, allocations: 4.188 kB / 448.7 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.3767, allocations: 3.984 kB / 448.7 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.3767, allocations: 8 kB / 448.7 MB, free: 8.414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.681e-05/0.3768, allocations: 107.3 kB / 448.8 MB, free: 8.309 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3768, allocations: 0 / 448.8 MB, free: 8.309 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00227/0.3791, allocations: 0.9547 MB / 449.7 MB, free: 7.352 MB / 366.1 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.003846/0.383, allocations: 1.345 MB / 451.1 MB, free: 6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.3832, allocations: 48 kB / 451.1 MB, free: 5.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3832, allocations: 0 / 451.1 MB, free: 5.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.843e-05/0.3833, allocations: 32.16 kB / 451.2 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.3836, allocations: 23.97 kB / 451.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.384, allocations: 176.7 kB / 451.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.3843, allocations: 0.6846 MB / 452 MB, free: 4.984 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.668e-05/0.3844, allocations: 11.98 kB / 452.1 MB, free: 4.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.3844, allocations: 23.38 kB / 452.1 MB, free: 4.949 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3845, allocations: 0 / 452.1 MB, free: 4.949 MB / 366.1 MB Notification: Performance of Templates: time 0.03614/0.4206, allocations: 27.08 MB / 479.2 MB, free: 9.84 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches