Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 112.2 kB / 17.74 MB, free: 5.355 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.001977/0.001977, allocations: 187.1 kB / 18.67 MB, free: 4.434 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.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 51.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2735, allocations: 49.45 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002659/0.2762, allocations: 1.356 MB / 402.8 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.2894, allocations: 12.07 MB / 414.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.2895, allocations: 0 / 414.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.2895, allocations: 15.92 kB / 414.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.2931, allocations: 1.043 MB / 415.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.2949, allocations: 0.6217 MB / 416.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.295, allocations: 63.66 kB / 416.6 MB, free: 9.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.2951, allocations: 12 kB / 416.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.6e-05/0.2951, allocations: 27.91 kB / 416.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.706e-05/0.2952, allocations: 35.91 kB / 416.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.2952, allocations: 0 / 416.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003258/0.2985, allocations: 1.612 MB / 418.3 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.2986, allocations: 11.98 kB / 418.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.39e-05/0.2986, allocations: 27.86 kB / 418.3 MB, free: 7.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.3013, allocations: 1.068 MB / 419.4 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3013, allocations: 0 / 419.4 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3014, allocations: 3.938 kB / 419.4 MB, free: 6.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3014, allocations: 4 kB / 419.4 MB, free: 6.82 MB / 334.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.0009109/0.3023, allocations: 0.5342 MB / 419.9 MB, free: 6.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3023, allocations: 15.88 kB / 419.9 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.3025, allocations: 8.844 kB / 419.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.3027, allocations: 180.3 kB / 420.1 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.3027, allocations: 384 / 420.1 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.3027, allocations: 12.31 kB / 420.1 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3029, allocations: 67.52 kB / 420.2 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.3029, allocations: 0 / 420.2 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3029, allocations: 3.938 kB / 420.2 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3029, allocations: 0 / 420.2 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.303, allocations: 23.98 kB / 420.2 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.3032, allocations: 178.5 kB / 420.4 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.3035, allocations: 85.12 kB / 420.5 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.063e-05/0.3036, allocations: 25.78 kB / 420.5 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006397/0.31, allocations: 3.301 MB / 423.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.3101, allocations: 42.5 kB / 423.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.3101, allocations: 0 / 423.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003521/0.3105, allocations: 85.58 kB / 423.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.3105, allocations: 81.11 kB / 424 MB, free: 1.539 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3106, allocations: 113.8 kB / 424.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3107, allocations: 33.7 kB / 424.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.3107, allocations: 80.14 kB / 424.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.3108, allocations: 23.7 kB / 424.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.3108, allocations: 17.72 kB / 424.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3109, allocations: 310.8 kB / 424.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.658e-05/0.311, allocations: 19.92 kB / 424.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.996e-05/0.3111, allocations: 25.7 kB / 424.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.3112, allocations: 37.7 kB / 424.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3112, allocations: 0 / 424.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001828/0.3114, allocations: 77.45 kB / 424.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3114, allocations: 8 kB / 424.7 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3114, allocations: 0 / 424.7 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3114, allocations: 0 / 424.7 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/0.3115, allocations: 16 kB / 424.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3115, allocations: 0 / 424.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.3116, allocations: 7.922 kB / 424.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.3116, allocations: 4 kB / 424.8 MB, free: 0.7266 MB / 334.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.593e-05/0.3117, allocations: 109.8 kB / 424.9 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.3117, allocations: 11.88 kB / 424.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.312, allocations: 109.4 kB / 425 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.312, allocations: 0 / 425 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.312, allocations: 0 / 425 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.312, allocations: 0 / 425 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.3122, allocations: 169.8 kB / 425.2 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3122, allocations: 0.5625 kB / 425.2 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.3123, allocations: 15.92 kB / 425.2 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3123, allocations: 0 / 425.2 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3123, allocations: 15.88 kB / 425.2 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3123, allocations: 4 kB / 425.2 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3123, allocations: 0 / 425.2 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.3125, allocations: 101.9 kB / 425.3 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.3126, allocations: 96.94 kB / 425.4 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.3126, allocations: 0 / 425.4 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.3127, allocations: 0 / 425.4 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.3128, allocations: 15.98 kB / 425.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3128, allocations: 4 kB / 425.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.092e-05/0.3128, allocations: 91.27 kB / 425.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3128, allocations: 0 / 425.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008931/0.3137, allocations: 323.6 kB / 425.8 MB, free: 15.58 MB / 350.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.001367/0.3151, allocations: 0.5843 MB / 426.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.3153, allocations: 35.97 kB / 426.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3153, allocations: 0 / 426.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.455e-05/0.3154, allocations: 23.92 kB / 426.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.3156, allocations: 16.48 kB / 426.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.3161, allocations: 177.8 kB / 426.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.3164, allocations: 0.6846 MB / 427.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.3164, allocations: 31.36 kB / 427.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3164, allocations: 0 / 427.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of Templates: time 0.009745/0.3262, allocations: 5.947 MB / 433.3 MB, free: 8 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches