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.00109/0.00109, allocations: 104 kB / 17.59 MB, free: 5.555 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.001289/0.001289, allocations: 191.5 kB / 18.51 MB, free: 4.637 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.343/1.343, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 54.58 kB / 301.3 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1105, allocations: 49.45 MB / 350.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002637/0.1131, allocations: 1.361 MB / 352.1 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.1259, allocations: 12.07 MB / 364.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.047e-05/0.126, allocations: 0 / 364.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.1261, allocations: 3.938 kB / 364.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0038/0.1299, allocations: 1.038 MB / 365.2 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.1321, allocations: 0.6451 MB / 365.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1322, allocations: 63.66 kB / 365.9 MB, free: 5.152 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.1323, allocations: 4 kB / 365.9 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.414e-05/0.1323, allocations: 27.91 kB / 365.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.1324, allocations: 39.89 kB / 366 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1325, allocations: 0 / 366 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.136, allocations: 1.576 MB / 367.5 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.136, allocations: 4 kB / 367.5 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.078e-05/0.1361, allocations: 31.84 kB / 367.6 MB, free: 3.469 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.139, allocations: 1.061 MB / 368.6 MB, free: 2.406 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.139, allocations: 0 / 368.6 MB, free: 2.406 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.139, allocations: 0 / 368.6 MB, free: 2.406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1391, allocations: 0 / 368.6 MB, free: 2.406 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.0009323/0.14, allocations: 0.5535 MB / 369.2 MB, free: 1.805 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1401, allocations: 19.83 kB / 369.2 MB, free: 1.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.1402, allocations: 4.938 kB / 369.2 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.1404, allocations: 184.2 kB / 369.4 MB, free: 1.562 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.1404, allocations: 4.375 kB / 369.4 MB, free: 1.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.1404, allocations: 384 / 369.4 MB, free: 1.559 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1406, allocations: 71.52 kB / 369.5 MB, free: 1.477 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1406, allocations: 0 / 369.5 MB, free: 1.477 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1407, allocations: 4 kB / 369.5 MB, free: 1.473 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1407, allocations: 3.984 kB / 369.5 MB, free: 1.469 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.1408, allocations: 27.91 kB / 369.5 MB, free: 1.441 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002261/0.141, allocations: 174.6 kB / 369.7 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.1414, allocations: 81.12 kB / 369.8 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.1414, allocations: 25.78 kB / 369.8 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1875/0.3289, allocations: 3.279 MB / 373.1 MB, free: 24.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.329, allocations: 47.72 kB / 373.1 MB, free: 24.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.375e-06/0.329, allocations: 1.031 kB / 373.1 MB, free: 24.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003675/0.3294, allocations: 78.58 kB / 373.2 MB, free: 24.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.3294, allocations: 87.08 kB / 373.3 MB, free: 24.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.3295, allocations: 109.6 kB / 373.4 MB, free: 24.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.3296, allocations: 30.14 kB / 373.4 MB, free: 24.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.309e-05/0.3296, allocations: 82.52 kB / 373.5 MB, free: 24.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.3296, allocations: 28.12 kB / 373.5 MB, free: 24.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.3297, allocations: 19.31 kB / 373.5 MB, free: 24.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.399e-05/0.3297, allocations: 317.4 kB / 373.8 MB, free: 24.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.3298, allocations: 8.578 kB / 373.9 MB, free: 24.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.935e-05/0.3299, allocations: 25.41 kB / 373.9 MB, free: 24.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.33, allocations: 45.8 kB / 373.9 MB, free: 24.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.33, allocations: 0 / 373.9 MB, free: 24.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000168/0.3302, allocations: 68.84 kB / 374 MB, free: 24.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3302, allocations: 5.281 kB / 374 MB, free: 24.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3302, allocations: 1.953 kB / 374 MB, free: 24.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3302, allocations: 1.469 kB / 374 MB, free: 24.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.973e-05/0.3303, allocations: 14.69 kB / 374 MB, free: 24.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3303, allocations: 1 kB / 374 MB, free: 24.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.3304, allocations: 5.328 kB / 374 MB, free: 24.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.3304, allocations: 3.281 kB / 374 MB, free: 24.13 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 6.146e-05/0.3305, allocations: 119.9 kB / 374.1 MB, free: 24.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.3305, allocations: 8.844 kB / 374.1 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.3308, allocations: 106.7 kB / 374.3 MB, free: 23.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3308, allocations: 0.7969 kB / 374.3 MB, free: 23.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3308, allocations: 5.125 kB / 374.3 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3308, allocations: 1.219 kB / 374.3 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.3309, allocations: 177.9 kB / 374.4 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3309, allocations: 1.5 kB / 374.4 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.331, allocations: 10.92 kB / 374.4 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.331, allocations: 1.531 kB / 374.4 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.331, allocations: 2.031 kB / 374.4 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.331, allocations: 2.031 kB / 374.5 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.331, allocations: 0 / 374.5 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.3312, allocations: 116.4 kB / 374.6 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.3313, allocations: 87.55 kB / 374.6 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.3313, allocations: 5.109 kB / 374.7 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.3314, allocations: 4.109 kB / 374.7 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.3314, allocations: 6.203 kB / 374.7 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.3315, allocations: 2.406 kB / 374.7 MB, free: 23.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.323e-05/0.3315, allocations: 98.58 kB / 374.8 MB, free: 23.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3315, allocations: 0 / 374.8 MB, free: 23.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009868/0.3325, allocations: 323.2 kB / 375.1 MB, free: 23.49 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.001389/0.3339, allocations: 0.5681 MB / 375.6 MB, free: 23.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.3341, allocations: 37.55 kB / 375.7 MB, free: 23.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3341, allocations: 5.312 kB / 375.7 MB, free: 23.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.772e-05/0.3342, allocations: 24.73 kB / 375.7 MB, free: 23.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.3344, allocations: 13.16 kB / 375.7 MB, free: 23.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.3349, allocations: 205.2 kB / 375.9 MB, free: 23.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.335, allocations: 0.6822 MB / 376.6 MB, free: 22.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.3351, allocations: 26.23 kB / 376.6 MB, free: 22.45 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3351, allocations: 0 / 376.6 MB, free: 22.45 MB / 302.1 MB Notification: Performance of Templates: time 0.01131/0.3464, allocations: 5.952 MB / 382.6 MB, free: 21.11 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