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.001228/0.001228, allocations: 108.3 kB / 17.74 MB, free: 5.34 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.001284/0.001284, allocations: 191 kB / 18.67 MB, free: 4.418 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.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001092, allocations: 47.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2845, allocations: 49.45 MB / 401.4 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002518/0.2871, allocations: 1.345 MB / 402.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.3001, allocations: 12.08 MB / 414.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.3002, allocations: 0 / 414.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.3002, allocations: 3.984 kB / 414.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.3037, allocations: 1.043 MB / 415.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.3054, allocations: 0.6256 MB / 416.5 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.3056, allocations: 71.64 kB / 416.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.3056, allocations: 3.984 kB / 416.6 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.69e-05/0.3057, allocations: 27.92 kB / 416.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.376e-05/0.3058, allocations: 27.91 kB / 416.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.3058, allocations: 4 kB / 416.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00332/0.3092, allocations: 1.619 MB / 418.3 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.3092, allocations: 7.984 kB / 418.3 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.3093, allocations: 31.84 kB / 418.3 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.3115, allocations: 1.064 MB / 419.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3115, allocations: 0 / 419.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3116, allocations: 0 / 419.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3116, allocations: 0 / 419.4 MB, free: 6.996 MB / 334.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.0007523/0.3123, allocations: 0.538 MB / 419.9 MB, free: 6.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3124, allocations: 8.031 kB / 419.9 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.3125, allocations: 20.83 kB / 419.9 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.3127, allocations: 180.3 kB / 420.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3127, allocations: 4.375 kB / 420.1 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.3127, allocations: 4.312 kB / 420.1 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.3129, allocations: 67.52 kB / 420.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3129, allocations: 0 / 420.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3129, allocations: 4 kB / 420.2 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3129, allocations: 0 / 420.2 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.313, allocations: 23.98 kB / 420.2 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.3132, allocations: 182.4 kB / 420.4 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.3135, allocations: 77.22 kB / 420.5 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/0.3136, allocations: 33.77 kB / 420.5 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006232/0.3199, allocations: 3.301 MB / 423.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.3199, allocations: 42.44 kB / 423.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.3199, allocations: 0 / 423.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003262/0.3203, allocations: 81.55 kB / 423.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.3203, allocations: 85.09 kB / 424 MB, free: 1.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/0.3204, allocations: 113.8 kB / 424.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3204, allocations: 25.7 kB / 424.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.3205, allocations: 88.14 kB / 424.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.3205, allocations: 15.72 kB / 424.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.3206, allocations: 21.7 kB / 424.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3207, allocations: 318.8 kB / 424.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.351e-05/0.3207, allocations: 7.984 kB / 424.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.794e-05/0.3208, allocations: 25.72 kB / 424.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.3209, allocations: 45.64 kB / 424.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3209, allocations: 0 / 424.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001596/0.3211, allocations: 69.52 kB / 424.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3211, allocations: 4 kB / 424.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3211, allocations: 4.453 kB / 424.7 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3212, allocations: 4 kB / 424.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.3212, allocations: 11.94 kB / 424.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3213, allocations: 320 / 424.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.3213, allocations: 11.94 kB / 424.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3213, allocations: 0 / 424.7 MB, free: 0.9023 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.95e-05/0.3214, allocations: 117.8 kB / 424.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.3214, allocations: 7.938 kB / 424.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.3217, allocations: 109.3 kB / 425 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3217, allocations: 4 kB / 425 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3217, allocations: 4 kB / 425 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3217, allocations: 0 / 425 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.3219, allocations: 173.6 kB / 425.2 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3219, allocations: 0 / 425.2 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.3219, allocations: 15.94 kB / 425.2 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3219, allocations: 3.984 kB / 425.2 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.322, allocations: 0 / 425.2 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.322, allocations: 0 / 425.2 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.322, allocations: 7.938 kB / 425.2 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.3222, allocations: 98.16 kB / 425.3 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.3222, allocations: 92.94 kB / 425.4 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3222, allocations: 4 kB / 425.4 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.3223, allocations: 8 kB / 425.4 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.3224, allocations: 11.92 kB / 425.4 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3224, allocations: 0 / 425.4 MB, free: 160 kB / 334.1 MB Notification: Performance of sorting global known variables: time 5.973e-05/0.3225, allocations: 95.27 kB / 425.5 MB, free: 64 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3225, allocations: 4 kB / 425.5 MB, free: 60 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008203/0.3233, allocations: 323.6 kB / 425.8 MB, free: 15.74 MB / 350.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.001086/0.3244, allocations: 0.5726 MB / 426.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.3246, allocations: 43.91 kB / 426.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3246, allocations: 8 kB / 426.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.3246, allocations: 12 kB / 426.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.3248, allocations: 15.92 kB / 426.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.3253, allocations: 185.8 kB / 426.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.3255, allocations: 0.6846 MB / 427.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.3256, allocations: 23.41 kB / 427.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3256, allocations: 0 / 427.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of Templates: time 0.008722/0.3343, allocations: 5.957 MB / 433.3 MB, free: 8.164 MB / 350.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