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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 111 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007724/0.0007724, allocations: 39.94 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2267, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001962/0.2287, allocations: 1.43 MB / 400.9 MB, free: 31.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02219/0.2509, allocations: 25.33 MB / 426.2 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.2511, allocations: 0 / 426.2 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.2512, allocations: 7.938 kB / 426.2 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01339/0.2646, allocations: 4.918 MB / 431.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008165/0.2654, allocations: 322.9 kB / 431.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.2656, allocations: 91.67 kB / 431.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.2657, allocations: 4 kB / 431.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.2657, allocations: 39.78 kB / 431.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/0.2658, allocations: 39.89 kB / 431.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.2658, allocations: 4 kB / 431.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01526/0.2811, allocations: 8.901 MB / 440.5 MB, free: 8.207 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.2812, allocations: 15.92 kB / 440.6 MB, free: 8.191 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.2813, allocations: 31.86 kB / 440.6 MB, free: 8.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.2918, allocations: 4.437 MB / 445 MB, free: 3.715 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2919, allocations: 0 / 445 MB, free: 3.715 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2919, allocations: 4 kB / 445 MB, free: 3.711 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2919, allocations: 0 / 445 MB, free: 3.711 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.002178/0.2941, allocations: 0.9023 MB / 445.9 MB, free: 2.762 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.2941, allocations: 16.03 kB / 445.9 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.348e-05/0.2942, allocations: 8.844 kB / 446 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.2944, allocations: 203.8 kB / 446.2 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2945, allocations: 0 / 446.2 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.2945, allocations: 0 / 446.2 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.2947, allocations: 75.33 kB / 446.2 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2947, allocations: 0 / 446.2 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.2947, allocations: 0 / 446.2 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2947, allocations: 8 kB / 446.2 MB, free: 2.406 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.2949, allocations: 31.97 kB / 446.3 MB, free: 2.375 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.2951, allocations: 190.5 kB / 446.5 MB, free: 2.137 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.2954, allocations: 93.12 kB / 446.5 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.129e-05/0.2955, allocations: 33.77 kB / 446.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.499e-05/0.2956, allocations: 15.97 kB / 446.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.2956, allocations: 38.55 kB / 446.6 MB, free: 1.926 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.2956, allocations: 0 / 446.6 MB, free: 1.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003225/0.296, allocations: 101.5 kB / 446.7 MB, free: 1.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.296, allocations: 81.11 kB / 446.8 MB, free: 1.723 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.2961, allocations: 149.7 kB / 447 MB, free: 1.566 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2962, allocations: 25.7 kB / 447 MB, free: 1.535 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.2962, allocations: 84.14 kB / 447.1 MB, free: 1.449 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.2962, allocations: 19.73 kB / 447.1 MB, free: 1.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.2963, allocations: 17.72 kB / 447.1 MB, free: 1.406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2964, allocations: 326.8 kB / 447.4 MB, free: 1.078 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.818e-05/0.2965, allocations: 12 kB / 447.4 MB, free: 1.066 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.958e-05/0.2966, allocations: 33.7 kB / 447.5 MB, free: 1.027 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.2967, allocations: 57.75 kB / 447.5 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2967, allocations: 4 kB / 447.5 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001815/0.2969, allocations: 77.52 kB / 447.6 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2969, allocations: 8 kB / 447.6 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2969, allocations: 0 / 447.6 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2969, allocations: 0 / 447.6 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.297, allocations: 15.98 kB / 447.6 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.297, allocations: 4 kB / 447.6 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.2971, allocations: 4 kB / 447.6 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2971, allocations: 4 kB / 447.6 MB, free: 0.8438 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 7.335e-05/0.2972, allocations: 117.7 kB / 447.7 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.2972, allocations: 7.906 kB / 447.8 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.2975, allocations: 101.5 kB / 447.9 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2975, allocations: 0 / 447.9 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2975, allocations: 4 kB / 447.9 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.2975, allocations: 0.5625 kB / 447.9 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.2976, allocations: 181.6 kB / 448 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2976, allocations: 0 / 448 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.2977, allocations: 12 kB / 448.1 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2977, allocations: 0 / 448.1 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2977, allocations: 0 / 448.1 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2977, allocations: 3.984 kB / 448.1 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2977, allocations: 4 kB / 448.1 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006305/0.2984, allocations: 0.7263 MB / 448.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.2985, allocations: 92.94 kB / 448.9 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.2985, allocations: 7.984 kB / 448.9 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.2986, allocations: 3.938 kB / 448.9 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.2986, allocations: 7.984 kB / 448.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.2986, allocations: 12 kB / 448.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.142e-05/0.2987, allocations: 115.5 kB / 449 MB, free: 15.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2987, allocations: 0 / 449 MB, free: 15.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003655/0.3024, allocations: 0.9642 MB / 450 MB, free: 14.35 MB / 330.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.005214/0.3076, allocations: 1.316 MB / 451.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.3079, allocations: 47.97 kB / 451.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3079, allocations: 0 / 451.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.308, allocations: 31.92 kB / 451.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.3082, allocations: 19.92 kB / 451.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.3087, allocations: 321 kB / 451.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.309, allocations: 0.6887 MB / 452.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.297e-05/0.3091, allocations: 12.36 kB / 452.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.3091, allocations: 15.44 kB / 452.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3091, allocations: 0 / 452.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of Templates: time 0.03783/0.347, allocations: 27.08 MB / 479.5 MB, free: 0.7344 MB / 346.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../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