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.001118/0.001118, allocations: 115 kB / 16.63 MB, free: 6.812 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.001233/0.001233, allocations: 186 kB / 17.55 MB, free: 5.934 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.291/1.291, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009551/0.0009552, allocations: 47.16 kB / 300.1 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08169/0.08266, allocations: 49.45 MB / 349.6 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002252/0.08495, allocations: 1.426 MB / 351 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.181/0.266, allocations: 23.63 MB / 374.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/0.2661, allocations: 4.594 kB / 374.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.2663, allocations: 6.578 kB / 374.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01988/0.2861, allocations: 5.378 MB / 380 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.2874, allocations: 328.1 kB / 380.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.2876, allocations: 77.91 kB / 380.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.2877, allocations: 4.641 kB / 380.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.344e-05/0.2878, allocations: 29.89 kB / 380.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.2879, allocations: 45.09 kB / 380.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.2879, allocations: 2.281 kB / 380.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01749/0.3054, allocations: 8.805 MB / 389.3 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.3055, allocations: 17.77 kB / 389.3 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.3056, allocations: 27.28 kB / 389.3 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009944/0.3155, allocations: 4.447 MB / 393.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3156, allocations: 0 / 393.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3156, allocations: 0 / 393.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.3156, allocations: 3.984 kB / 393.8 MB, free: 4.402 MB / 302.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.002321/0.3179, allocations: 0.9115 MB / 394.7 MB, free: 3.684 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.318, allocations: 15.34 kB / 394.7 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.318, allocations: 7.625 kB / 394.7 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.3182, allocations: 203.9 kB / 394.9 MB, free: 3.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3182, allocations: 7.938 kB / 394.9 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.3182, allocations: 3.75 kB / 394.9 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3184, allocations: 64.89 kB / 395 MB, free: 3.387 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3184, allocations: 0 / 395 MB, free: 3.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3184, allocations: 6.562 kB / 395 MB, free: 3.383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.3184, allocations: 4 kB / 395 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3185, allocations: 34.41 kB / 395 MB, free: 3.367 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.3187, allocations: 192.1 kB / 395.2 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.319, allocations: 90.25 kB / 395.3 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.287e-05/0.3191, allocations: 39.83 kB / 395.4 MB, free: 3.055 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.3191, allocations: 13.2 kB / 395.4 MB, free: 3.051 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.3191, allocations: 30.56 kB / 395.4 MB, free: 3.012 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.3191, allocations: 1.969 kB / 395.4 MB, free: 3.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002828/0.3194, allocations: 107.9 kB / 395.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.3195, allocations: 81.11 kB / 395.6 MB, free: 2.852 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.3196, allocations: 134.8 kB / 395.7 MB, free: 2.738 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.3196, allocations: 27.73 kB / 395.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.118e-05/0.3196, allocations: 86.02 kB / 395.8 MB, free: 2.621 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.3196, allocations: 22.42 kB / 395.8 MB, free: 2.602 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.3197, allocations: 19.03 kB / 395.9 MB, free: 2.582 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.821e-05/0.3197, allocations: 318.8 kB / 396.2 MB, free: 2.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.515e-05/0.3198, allocations: 17.81 kB / 396.2 MB, free: 2.258 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-05/0.3198, allocations: 29.08 kB / 396.2 MB, free: 2.234 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.32, allocations: 58.53 kB / 396.3 MB, free: 2.199 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.32, allocations: 0 / 396.3 MB, free: 2.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000158/0.3201, allocations: 82.45 kB / 396.4 MB, free: 2.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3201, allocations: 5.75 kB / 396.4 MB, free: 2.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3202, allocations: 0.875 kB / 396.4 MB, free: 2.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.3202, allocations: 2.406 kB / 396.4 MB, free: 2.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.3202, allocations: 17.92 kB / 396.4 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3202, allocations: 0 / 396.4 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/0.3203, allocations: 6.438 kB / 396.4 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.3203, allocations: 2.969 kB / 396.4 MB, free: 2.133 MB / 302.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 4.888e-05/0.3204, allocations: 120.5 kB / 396.5 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.3204, allocations: 10.58 kB / 396.5 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.3206, allocations: 96.88 kB / 396.6 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3206, allocations: 4 kB / 396.6 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3206, allocations: 5.969 kB / 396.6 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3206, allocations: 0 / 396.6 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.543e-05/0.3207, allocations: 183.1 kB / 396.8 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3207, allocations: 1.938 kB / 396.8 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.482e-05/0.3208, allocations: 8.188 kB / 396.8 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3208, allocations: 1.938 kB / 396.8 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.3208, allocations: 7.922 kB / 396.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3208, allocations: 2.25 kB / 396.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3208, allocations: 0 / 396.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.321, allocations: 120 kB / 396.9 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.321, allocations: 89.19 kB / 397 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.3211, allocations: 0 / 397 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.3212, allocations: 2.5 kB / 397 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.3212, allocations: 11.11 kB / 397 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.3212, allocations: 2.938 kB / 397 MB, free: 1.508 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.997e-05/0.3213, allocations: 112.3 kB / 397.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.02e-07/0.3213, allocations: 0 / 397.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002387/0.3237, allocations: 0.9373 MB / 398.1 MB, free: 1.207 MB / 302.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.004118/0.3278, allocations: 1.338 MB / 399.4 MB, free: 292 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.328, allocations: 51.91 kB / 399.5 MB, free: 240 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.328, allocations: 4 kB / 399.5 MB, free: 236 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/0.3281, allocations: 32.94 kB / 399.5 MB, free: 204 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.3283, allocations: 15.98 kB / 399.5 MB, free: 188 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.3287, allocations: 201.5 kB / 399.7 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.329, allocations: 0.6883 MB / 400.4 MB, free: 15.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.673e-05/0.329, allocations: 11.98 kB / 400.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.3291, allocations: 15.44 kB / 400.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.3291, allocations: 4 kB / 400.5 MB, free: 15.21 MB / 318.1 MB Notification: Performance of Templates: time 0.03568/0.3648, allocations: 27.11 MB / 427.6 MB, free: 4.102 MB / 334.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