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.001137/0.001137, allocations: 110 kB / 17.68 MB, free: 5.332 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.001094/0.001094, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.283/1.283, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009771/0.0009773, allocations: 44.22 kB / 302 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0803/0.08129, allocations: 49.45 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002186/0.08352, allocations: 1.353 MB / 352.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.09513, allocations: 12.08 MB / 364.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.0952, allocations: 0 / 364.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.09526, allocations: 3.938 kB / 364.9 MB, free: 6.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002679/0.09794, allocations: 1.038 MB / 366 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.09937, allocations: 0.6373 MB / 366.6 MB, free: 4.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.09949, allocations: 63.66 kB / 366.7 MB, free: 4.445 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.09955, allocations: 4 kB / 366.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.09962, allocations: 31.91 kB / 366.7 MB, free: 4.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.785e-05/0.09971, allocations: 35.89 kB / 366.7 MB, free: 4.375 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.09973, allocations: 4 kB / 366.7 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/0.1024, allocations: 1.612 MB / 368.3 MB, free: 2.758 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.1024, allocations: 11.97 kB / 368.4 MB, free: 2.746 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.1025, allocations: 27.86 kB / 368.4 MB, free: 2.719 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.1042, allocations: 1.064 MB / 369.5 MB, free: 1.652 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1042, allocations: 0 / 369.5 MB, free: 1.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1042, allocations: 0 / 369.5 MB, free: 1.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1042, allocations: 0 / 369.5 MB, free: 1.652 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.0006243/0.1048, allocations: 0.5457 MB / 370 MB, free: 1.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1049, allocations: 11.97 kB / 370 MB, free: 1.047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.105, allocations: 16.92 kB / 370 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.1052, allocations: 180.2 kB / 370.2 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1052, allocations: 4.375 kB / 370.2 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.1052, allocations: 4.375 kB / 370.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1054, allocations: 63.52 kB / 370.3 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1054, allocations: 0 / 370.3 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1054, allocations: 8 kB / 370.3 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1054, allocations: 0 / 370.3 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1055, allocations: 23.92 kB / 370.3 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.1057, allocations: 174.6 kB / 370.5 MB, free: 492 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.106, allocations: 77.12 kB / 370.5 MB, free: 396 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.3e-05/0.106, allocations: 25.77 kB / 370.6 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1455/0.2516, allocations: 3.294 MB / 373.9 MB, free: 24.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2516, allocations: 36.78 kB / 373.9 MB, free: 24.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.2516, allocations: 0 / 373.9 MB, free: 24.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003276/0.252, allocations: 85.91 kB / 374 MB, free: 24.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.252, allocations: 82.25 kB / 374.1 MB, free: 24.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/0.2521, allocations: 114.7 kB / 374.2 MB, free: 24.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.2521, allocations: 26.45 kB / 374.2 MB, free: 24.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.931e-05/0.2522, allocations: 85.62 kB / 374.3 MB, free: 24.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.2522, allocations: 24.12 kB / 374.3 MB, free: 24.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.2522, allocations: 20.5 kB / 374.3 MB, free: 24.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.061e-05/0.2523, allocations: 313.3 kB / 374.6 MB, free: 23.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.664e-05/0.2523, allocations: 15.94 kB / 374.7 MB, free: 23.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.2524, allocations: 25.38 kB / 374.7 MB, free: 23.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.2525, allocations: 44.92 kB / 374.7 MB, free: 23.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2525, allocations: 0 / 374.7 MB, free: 23.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000157/0.2527, allocations: 69.92 kB / 374.8 MB, free: 23.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2527, allocations: 6.922 kB / 374.8 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2527, allocations: 0 / 374.8 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2527, allocations: 1.406 kB / 374.8 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.034e-05/0.2528, allocations: 13.86 kB / 374.8 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2528, allocations: 5.25 kB / 374.8 MB, free: 23.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.2529, allocations: 1.703 kB / 374.8 MB, free: 23.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2529, allocations: 5.5 kB / 374.8 MB, free: 23.72 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 5.113e-05/0.253, allocations: 122.8 kB / 374.9 MB, free: 23.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.253, allocations: 6.344 kB / 375 MB, free: 23.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.2533, allocations: 106.9 kB / 375.1 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2533, allocations: 0.8438 kB / 375.1 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2533, allocations: 1.594 kB / 375.1 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2533, allocations: 3.219 kB / 375.1 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.2e-05/0.2534, allocations: 172.7 kB / 375.2 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2534, allocations: 3.938 kB / 375.2 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.2535, allocations: 12.05 kB / 375.2 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2535, allocations: 2.266 kB / 375.2 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.2535, allocations: 0 / 375.2 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2535, allocations: 9.844 kB / 375.3 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2535, allocations: 1.406 kB / 375.3 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.2537, allocations: 100.4 kB / 375.4 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.2537, allocations: 92.42 kB / 375.4 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.2537, allocations: 1.875 kB / 375.4 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.2538, allocations: 3.797 kB / 375.5 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.2539, allocations: 17.86 kB / 375.5 MB, free: 23.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.2539, allocations: 3.938 kB / 375.5 MB, free: 23.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.878e-05/0.2539, allocations: 90.33 kB / 375.6 MB, free: 23.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2539, allocations: 0 / 375.6 MB, free: 23.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008173/0.2548, allocations: 327.4 kB / 375.9 MB, free: 23.09 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.001094/0.2559, allocations: 0.5727 MB / 376.5 MB, free: 22.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.256, allocations: 35.52 kB / 376.5 MB, free: 22.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2561, allocations: 0 / 376.5 MB, free: 22.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.09e-05/0.2561, allocations: 22.78 kB / 376.5 MB, free: 22.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.2563, allocations: 14.7 kB / 376.5 MB, free: 22.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.2567, allocations: 179.4 kB / 376.7 MB, free: 22.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.196e-05/0.2568, allocations: 0.6813 MB / 377.4 MB, free: 22.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.2569, allocations: 46.52 kB / 377.4 MB, free: 22.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.257, allocations: 19.02 kB / 377.4 MB, free: 22.08 MB / 302.1 MB Notification: Performance of SimCode: time 7.82e-07/0.257, allocations: 0 / 377.4 MB, free: 22.08 MB / 302.1 MB Notification: Performance of Templates: time 0.01431/0.2713, allocations: 8.984 MB / 386.4 MB, free: 19.18 MB / 302.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 -s gbode -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