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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009491/0.0009488, allocations: 109.9 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000819/0.000819, allocations: 43.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2616, allocations: 49.43 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001988/0.2636, allocations: 1.428 MB / 400.9 MB, free: 31.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009186/0.2728, allocations: 12.35 MB / 413.2 MB, free: 19.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.2729, allocations: 0 / 413.2 MB, free: 19.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.273, allocations: 7.922 kB / 413.2 MB, free: 19.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.2754, allocations: 0.8571 MB / 414.1 MB, free: 18.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.2769, allocations: 0.5327 MB / 414.6 MB, free: 18.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.123e-05/0.2769, allocations: 59.72 kB / 414.7 MB, free: 18.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.277, allocations: 4 kB / 414.7 MB, free: 18.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.159e-05/0.277, allocations: 35.84 kB / 414.7 MB, free: 18.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.2771, allocations: 31.91 kB / 414.8 MB, free: 18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.2771, allocations: 7.984 kB / 414.8 MB, free: 18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.2793, allocations: 1.553 MB / 416.3 MB, free: 16.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.2793, allocations: 11.98 kB / 416.3 MB, free: 16.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.2793, allocations: 27.86 kB / 416.4 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.2807, allocations: 1.061 MB / 417.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2807, allocations: 0 / 417.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2807, allocations: 4 kB / 417.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.2807, allocations: 3.938 kB / 417.4 MB, free: 15.33 MB / 298.7 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.0005397/0.2813, allocations: 0.5457 MB / 418 MB, free: 14.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2813, allocations: 8.031 kB / 418 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.2814, allocations: 16.92 kB / 418 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.647e-05/0.2815, allocations: 172.3 kB / 418.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.2816, allocations: 12.36 kB / 418.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.2816, allocations: 384 / 418.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.2817, allocations: 71.45 kB / 418.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2817, allocations: 3.984 kB / 418.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.2817, allocations: 8 kB / 418.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2818, allocations: 0 / 418.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.941e-05/0.2819, allocations: 15.98 kB / 418.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.282, allocations: 174.6 kB / 418.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.2822, allocations: 81.12 kB / 418.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.2823, allocations: 25.77 kB / 418.6 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0052/0.2875, allocations: 3.298 MB / 421.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.2876, allocations: 46.42 kB / 421.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.2876, allocations: 0 / 421.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002923/0.2879, allocations: 81.52 kB / 422 MB, free: 10.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.2879, allocations: 85.11 kB / 422.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.11e-05/0.288, allocations: 113.8 kB / 422.2 MB, free: 9.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.288, allocations: 25.7 kB / 422.2 MB, free: 9.898 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.288, allocations: 84.12 kB / 422.3 MB, free: 9.812 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.2881, allocations: 23.73 kB / 422.3 MB, free: 9.789 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.2881, allocations: 17.72 kB / 422.3 MB, free: 9.766 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.2882, allocations: 318.8 kB / 422.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.96e-05/0.2882, allocations: 12 kB / 422.6 MB, free: 9.434 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.087e-05/0.2883, allocations: 29.7 kB / 422.7 MB, free: 9.398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.303e-05/0.2884, allocations: 42 kB / 422.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2884, allocations: 0 / 422.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001387/0.2885, allocations: 73.52 kB / 422.8 MB, free: 9.273 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2886, allocations: 4 kB / 422.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2886, allocations: 0 / 422.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2886, allocations: 8.125 kB / 422.8 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.2887, allocations: 19.92 kB / 422.8 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.2887, allocations: 0 / 422.8 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/0.2887, allocations: 4 kB / 422.8 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.2887, allocations: 0 / 422.8 MB, free: 9.238 MB / 298.7 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.787e-05/0.2888, allocations: 117.8 kB / 422.9 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.2888, allocations: 11.84 kB / 422.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.2891, allocations: 105.4 kB / 423 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2891, allocations: 4 kB / 423.1 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2891, allocations: 3.938 kB / 423.1 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2891, allocations: 3.984 kB / 423.1 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.398e-05/0.2892, allocations: 161.7 kB / 423.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2892, allocations: 0 / 423.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.2893, allocations: 23.88 kB / 423.2 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2893, allocations: 4 kB / 423.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.2893, allocations: 0 / 423.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2893, allocations: 320 / 423.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2893, allocations: 4 kB / 423.2 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003803/0.2897, allocations: 0.6754 MB / 423.9 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.2897, allocations: 93 kB / 424 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.2898, allocations: 7.984 kB / 424 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.2898, allocations: 4 kB / 424 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.2899, allocations: 3.984 kB / 424 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.2899, allocations: 4 kB / 424 MB, free: 7.879 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.919e-05/0.2899, allocations: 95.25 kB / 424.1 MB, free: 7.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.29, allocations: 0 / 424.1 MB, free: 7.785 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008525/0.2908, allocations: 339.6 kB / 424.5 MB, free: 7.453 MB / 298.7 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.0009344/0.2918, allocations: 0.5846 MB / 425 MB, free: 6.859 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.2919, allocations: 31.97 kB / 425.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2919, allocations: 0 / 425.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.844e-05/0.292, allocations: 19.94 kB / 425.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.2922, allocations: 15.98 kB / 425.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.2927, allocations: 288.7 kB / 425.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.2928, allocations: 0.6809 MB / 426.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.2929, allocations: 52.47 kB / 426.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.293, allocations: 23.42 kB / 426.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.293, allocations: 0 / 426.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of Templates: time 0.01054/0.3035, allocations: 8.905 MB / 435.1 MB, free: 12.78 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","../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