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.001531/0.001531, allocations: 110.4 kB / 17.73 MB, free: 5.363 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.001668/0.001668, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.34/1.34, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001184/0.001184, allocations: 55.92 kB / 328.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08591/0.0871, allocations: 46.61 MB / 375.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002439/0.08959, allocations: 1.357 MB / 376.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1883/0.2779, allocations: 12.08 MB / 388.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.278, allocations: 5.031 kB / 388.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.2781, allocations: 10.33 kB / 388.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003728/0.2818, allocations: 1.047 MB / 389.6 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.2839, allocations: 0.6288 MB / 390.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.2841, allocations: 65.55 kB / 390.3 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.979e-05/0.2842, allocations: 7.078 kB / 390.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.92e-05/0.2842, allocations: 25.81 kB / 390.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.2843, allocations: 33.08 kB / 390.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.2844, allocations: 3.031 kB / 390.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004049/0.2884, allocations: 1.612 MB / 392 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.2885, allocations: 13.28 kB / 392 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.2885, allocations: 19.97 kB / 392 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003098/0.2916, allocations: 1.074 MB / 393.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2916, allocations: 0 / 393.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2916, allocations: 1.438 kB / 393.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2917, allocations: 7.938 kB / 393.1 MB, free: 4.133 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.0009692/0.2926, allocations: 0.5351 MB / 393.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2927, allocations: 13.66 kB / 393.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.2928, allocations: 11.72 kB / 393.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.293, allocations: 177.5 kB / 393.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.293, allocations: 4.375 kB / 393.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.293, allocations: 2.656 kB / 393.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.2932, allocations: 72.34 kB / 393.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2932, allocations: 1.125 kB / 393.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.2932, allocations: 0 / 393.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2933, allocations: 1.156 kB / 393.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.2934, allocations: 27.02 kB / 394 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.2936, allocations: 177.3 kB / 394.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.2939, allocations: 82.33 kB / 394.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.006e-05/0.2939, allocations: 21.33 kB / 394.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006133/0.3001, allocations: 3.298 MB / 397.5 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3001, allocations: 36.77 kB / 397.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.943e-06/0.3001, allocations: 0 / 397.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003146/0.3005, allocations: 79.17 kB / 397.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.3005, allocations: 83.22 kB / 397.7 MB, free: 452 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.3006, allocations: 114.7 kB / 397.8 MB, free: 344 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.3006, allocations: 27.52 kB / 397.9 MB, free: 312 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.347e-05/0.3006, allocations: 84.89 kB / 398 MB, free: 224 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.3007, allocations: 16.89 kB / 398 MB, free: 212 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.3007, allocations: 20 kB / 398 MB, free: 192 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3008, allocations: 318.7 kB / 398.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-05/0.3009, allocations: 7.828 kB / 398.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.229e-05/0.301, allocations: 38.7 kB / 398.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.3011, allocations: 39.06 kB / 398.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3011, allocations: 5.828 kB / 398.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001899/0.3013, allocations: 72.56 kB / 398.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3013, allocations: 10.06 kB / 398.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3013, allocations: 0.5625 kB / 398.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3014, allocations: 1.219 kB / 398.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.3014, allocations: 18.59 kB / 398.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3014, allocations: 0.7031 kB / 398.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/0.3015, allocations: 6.766 kB / 398.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3015, allocations: 2.625 kB / 398.5 MB, free: 15.75 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.725e-05/0.3016, allocations: 113.7 kB / 398.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.3016, allocations: 10.59 kB / 398.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.3019, allocations: 106.6 kB / 398.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3019, allocations: 1.156 kB / 398.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3019, allocations: 1.219 kB / 398.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.302, allocations: 0.8438 kB / 398.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.3021, allocations: 175.4 kB / 398.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3021, allocations: 0 / 398.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.3022, allocations: 12.3 kB / 398.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3022, allocations: 5.406 kB / 398.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3022, allocations: 4.844 kB / 398.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.3022, allocations: 1.438 kB / 398.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3022, allocations: 1.406 kB / 398.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.3024, allocations: 98.94 kB / 399 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.3025, allocations: 91.33 kB / 399.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3025, allocations: 6.984 kB / 399.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.3026, allocations: 7.812 kB / 399.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.3027, allocations: 5.469 kB / 399.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.3027, allocations: 3.406 kB / 399.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.465e-05/0.3028, allocations: 95.14 kB / 399.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3028, allocations: 0 / 399.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001203/0.304, allocations: 324.3 kB / 399.5 MB, free: 15 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.001695/0.3057, allocations: 0.5759 MB / 400.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.3059, allocations: 36.42 kB / 400.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3059, allocations: 1.125 kB / 400.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.968e-05/0.306, allocations: 24.06 kB / 400.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.3062, allocations: 12.38 kB / 400.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.3067, allocations: 161.4 kB / 400.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.3069, allocations: 0.6827 MB / 401 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.3071, allocations: 54.41 kB / 401.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/0.3071, allocations: 19.27 kB / 401.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3071, allocations: 0 / 401.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of Templates: time 0.01558/0.3227, allocations: 8.989 MB / 410.1 MB, free: 9.895 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/jenkins/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/jenkins/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