Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.00165/0.00165, allocations: 109.4 kB / 18.4 MB, free: 4.695 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.001795/0.001795, allocations: 187.1 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 47.94 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08291/0.08437, allocations: 46.63 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002731/0.08714, allocations: 1.349 MB / 377.2 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1834/0.2706, allocations: 12.1 MB / 389.3 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.135e-05/0.2707, allocations: 0 / 389.3 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.2708, allocations: 1.875 kB / 389.3 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004168/0.2749, allocations: 1.057 MB / 390.3 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.2771, allocations: 0.623 MB / 390.9 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.2773, allocations: 61.41 kB / 391 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.2774, allocations: 7.078 kB / 391 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.618e-05/0.2774, allocations: 29.73 kB / 391 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.2775, allocations: 36.19 kB / 391.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.2776, allocations: 2.969 kB / 391.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00435/0.2819, allocations: 1.61 MB / 392.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.282, allocations: 17.69 kB / 392.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.282, allocations: 25.61 kB / 392.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003495/0.2855, allocations: 1.067 MB / 393.8 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2856, allocations: 0 / 393.8 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2856, allocations: 1.5 kB / 393.8 MB, free: 4.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.2856, allocations: 0 / 393.8 MB, free: 4.121 MB / 318.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.0009613/0.2866, allocations: 0.5429 MB / 394.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2866, allocations: 9.406 kB / 394.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.2868, allocations: 13.66 kB / 394.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.2869, allocations: 176.4 kB / 394.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.2869, allocations: 6.359 kB / 394.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.2869, allocations: 1.781 kB / 394.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.2871, allocations: 73.34 kB / 394.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2871, allocations: 4 kB / 394.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2871, allocations: 1.859 kB / 394.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2871, allocations: 0 / 394.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.2872, allocations: 22.42 kB / 394.6 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.2874, allocations: 176.7 kB / 394.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.2877, allocations: 83.53 kB / 394.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.2877, allocations: 25.11 kB / 394.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006235/0.294, allocations: 3.291 MB / 398.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.294, allocations: 37.03 kB / 398.2 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.294, allocations: 7.875 kB / 398.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003377/0.2944, allocations: 75.11 kB / 398.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.2944, allocations: 83.06 kB / 398.4 MB, free: 432 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.2945, allocations: 119 kB / 398.5 MB, free: 320 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.2946, allocations: 27.14 kB / 398.5 MB, free: 288 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.007e-05/0.2946, allocations: 86.41 kB / 398.6 MB, free: 200 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.2946, allocations: 14.94 kB / 398.6 MB, free: 188 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.2947, allocations: 20.31 kB / 398.7 MB, free: 168 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.2948, allocations: 319 kB / 399 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.2948, allocations: 9.031 kB / 399 MB, free: 15.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.678e-05/0.2949, allocations: 29.83 kB / 399 MB, free: 15.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.295, allocations: 44.7 kB / 399.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.295, allocations: 0 / 399.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001765/0.2952, allocations: 69.44 kB / 399.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.2952, allocations: 11.14 kB / 399.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2953, allocations: 0 / 399.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2953, allocations: 1.25 kB / 399.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/0.2954, allocations: 12.41 kB / 399.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2954, allocations: 4 kB / 399.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.264e-05/0.2954, allocations: 15.14 kB / 399.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.2955, allocations: 2.906 kB / 399.2 MB, free: 15.73 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 8.125e-05/0.2955, allocations: 108.9 kB / 399.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.2956, allocations: 8.188 kB / 399.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.2959, allocations: 102.9 kB / 399.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2959, allocations: 1.438 kB / 399.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2959, allocations: 1.531 kB / 399.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2959, allocations: 0.6562 kB / 399.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.296, allocations: 174.8 kB / 399.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2961, allocations: 4.062 kB / 399.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/0.2961, allocations: 15.53 kB / 399.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.2961, allocations: 5.312 kB / 399.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.2961, allocations: 1.969 kB / 399.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2962, allocations: 4 kB / 399.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2962, allocations: 2.062 kB / 399.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.2964, allocations: 97.81 kB / 399.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.136e-05/0.2965, allocations: 92.03 kB / 399.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.2965, allocations: 1.906 kB / 399.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-05/0.2966, allocations: 8.125 kB / 399.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.2967, allocations: 9.594 kB / 399.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.2967, allocations: 3.281 kB / 399.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.013e-05/0.2967, allocations: 92.5 kB / 399.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2967, allocations: 3.938 kB / 399.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001125/0.2979, allocations: 330.3 kB / 400.2 MB, free: 14.98 MB / 334.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.001705/0.2996, allocations: 0.5788 MB / 400.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.2998, allocations: 36.47 kB / 400.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2998, allocations: 0 / 400.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.2999, allocations: 20.84 kB / 400.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.3002, allocations: 12.67 kB / 400.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.3006, allocations: 188.5 kB / 401 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.3009, allocations: 0.6826 MB / 401.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.301, allocations: 23.23 kB / 401.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.301, allocations: 0 / 401.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of Templates: time 0.01115/0.3121, allocations: 5.948 MB / 407.7 MB, free: 11.43 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches