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.001305/0.001305, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001317/0.001317, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 43.47 kB / 300.6 MB, free: 6.301 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0952/0.09636, allocations: 49.45 MB / 350.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002814/0.09922, allocations: 1.414 MB / 351.5 MB, free: 3.414 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.1121, allocations: 12.37 MB / 363.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.577e-05/0.1121, allocations: 4 kB / 363.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.1122, allocations: 0 / 363.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.1152, allocations: 0.8558 MB / 364.7 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.1169, allocations: 0.5288 MB / 365.2 MB, free: 5.594 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.117, allocations: 71.64 kB / 365.3 MB, free: 5.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.117, allocations: 0 / 365.3 MB, free: 5.523 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.1171, allocations: 27.92 kB / 365.3 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.286e-05/0.1172, allocations: 31.89 kB / 365.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.1172, allocations: 4 kB / 365.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.1206, allocations: 1.561 MB / 366.9 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.1206, allocations: 11.94 kB / 366.9 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.1207, allocations: 27.86 kB / 367 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.122, allocations: 0.7368 MB / 367.7 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.122, allocations: 0 / 367.7 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.122, allocations: 0 / 367.7 MB, free: 3.121 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.122, allocations: 0 / 367.7 MB, free: 3.121 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.0007922/0.1228, allocations: 0.5458 MB / 368.2 MB, free: 2.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1229, allocations: 11.97 kB / 368.2 MB, free: 2.516 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.123, allocations: 8.922 kB / 368.3 MB, free: 2.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.1232, allocations: 188.2 kB / 368.4 MB, free: 2.285 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1232, allocations: 384 / 368.4 MB, free: 2.285 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.1232, allocations: 4.375 kB / 368.4 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1234, allocations: 75.45 kB / 368.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1234, allocations: 0 / 368.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1234, allocations: 0 / 368.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1235, allocations: 0 / 368.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.1236, allocations: 23.98 kB / 368.5 MB, free: 2.172 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.1238, allocations: 174.6 kB / 368.7 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.1241, allocations: 85.11 kB / 368.8 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.782e-05/0.1241, allocations: 21.77 kB / 368.8 MB, free: 1.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1807/0.3048, allocations: 3.292 MB / 372.1 MB, free: 25.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3049, allocations: 40.23 kB / 372.1 MB, free: 25.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.3049, allocations: 0 / 372.1 MB, free: 25.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003521/0.3053, allocations: 80.5 kB / 372.2 MB, free: 25.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.3053, allocations: 87.17 kB / 372.3 MB, free: 25.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.3054, allocations: 113.5 kB / 372.4 MB, free: 24.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.3054, allocations: 31.72 kB / 372.5 MB, free: 24.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.3054, allocations: 87.09 kB / 372.5 MB, free: 24.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.3055, allocations: 17.17 kB / 372.6 MB, free: 24.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.3055, allocations: 19.23 kB / 372.6 MB, free: 24.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.3056, allocations: 317.3 kB / 372.9 MB, free: 24.51 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.3056, allocations: 14.19 kB / 372.9 MB, free: 24.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.694e-05/0.3057, allocations: 21.89 kB / 372.9 MB, free: 24.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.3058, allocations: 46.48 kB / 373 MB, free: 24.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3058, allocations: 1.188 kB / 373 MB, free: 24.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001574/0.306, allocations: 68.28 kB / 373 MB, free: 24.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.306, allocations: 5.375 kB / 373 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.306, allocations: 1.156 kB / 373 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.306, allocations: 1.797 kB / 373 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.483e-05/0.3061, allocations: 14.78 kB / 373.1 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3061, allocations: 6.531 kB / 373.1 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.3062, allocations: 4.953 kB / 373.1 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.3062, allocations: 2.953 kB / 373.1 MB, free: 24.45 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.445e-05/0.3063, allocations: 115.7 kB / 373.2 MB, free: 24.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.3063, allocations: 7.969 kB / 373.2 MB, free: 24.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.3066, allocations: 104.7 kB / 373.3 MB, free: 24.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3066, allocations: 4.578 kB / 373.3 MB, free: 24.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3066, allocations: 1 kB / 373.3 MB, free: 24.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3066, allocations: 1.859 kB / 373.3 MB, free: 24.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.3067, allocations: 174.1 kB / 373.5 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3067, allocations: 0.875 kB / 373.5 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.3068, allocations: 11.39 kB / 373.5 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3068, allocations: 1.031 kB / 373.5 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3068, allocations: 9.266 kB / 373.5 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.3068, allocations: 1.188 kB / 373.5 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3068, allocations: 0.625 kB / 373.5 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.307, allocations: 112.9 kB / 373.6 MB, free: 24.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.3071, allocations: 82.97 kB / 373.7 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.3071, allocations: 6.312 kB / 373.7 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.23e-05/0.3072, allocations: 3.375 kB / 373.7 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.3072, allocations: 6.672 kB / 373.7 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.3073, allocations: 4.688 kB / 373.7 MB, free: 23.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.187e-05/0.3073, allocations: 95.95 kB / 373.8 MB, free: 23.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3073, allocations: 3.5 kB / 373.8 MB, free: 23.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001017/0.3083, allocations: 323.1 kB / 374.1 MB, free: 23.83 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.001283/0.3096, allocations: 0.5795 MB / 374.7 MB, free: 23.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.3098, allocations: 39.36 kB / 374.7 MB, free: 23.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3098, allocations: 0 / 374.7 MB, free: 23.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.625e-05/0.3099, allocations: 20.75 kB / 374.8 MB, free: 23.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.3101, allocations: 14.45 kB / 374.8 MB, free: 23.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.3106, allocations: 204.2 kB / 375 MB, free: 23.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.3107, allocations: 0.6853 MB / 375.7 MB, free: 22.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.3108, allocations: 25.38 kB / 375.7 MB, free: 22.8 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3108, allocations: 1.406 kB / 375.7 MB, free: 22.8 MB / 302.1 MB Notification: Performance of Templates: time 0.01146/0.3223, allocations: 5.94 MB / 381.6 MB, free: 21.68 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 -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