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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.164/1.164, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009554/0.0009554, allocations: 102.2 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008118/0.0008117, allocations: 39.94 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2193, allocations: 46.61 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002189/0.2215, allocations: 1.416 MB / 375.2 MB, free: 44.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009476/0.231, allocations: 12.37 MB / 387.6 MB, free: 34.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.2312, allocations: 0 / 387.6 MB, free: 34.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.2312, allocations: 7.922 kB / 387.6 MB, free: 34.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.2336, allocations: 0.8559 MB / 388.5 MB, free: 34.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.235, allocations: 0.5434 MB / 389 MB, free: 33.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.318e-05/0.2351, allocations: 57.88 kB / 389.1 MB, free: 33.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.2351, allocations: 2 kB / 389.1 MB, free: 33.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.466e-05/0.2352, allocations: 33.59 kB / 389.1 MB, free: 33.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.2353, allocations: 38.2 kB / 389.1 MB, free: 33.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2353, allocations: 2.375 kB / 389.1 MB, free: 33.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.2375, allocations: 1.558 MB / 390.7 MB, free: 32.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.2376, allocations: 19.91 kB / 390.7 MB, free: 32.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.2376, allocations: 19.92 kB / 390.7 MB, free: 32.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.2388, allocations: 1.08 MB / 391.8 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2389, allocations: 0 / 391.8 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2389, allocations: 0 / 391.8 MB, free: 31.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.2389, allocations: 0 / 391.8 MB, free: 31.47 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.0004984/0.2394, allocations: 0.538 MB / 392.3 MB, free: 30.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.2394, allocations: 12.03 kB / 392.4 MB, free: 30.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.2395, allocations: 12.88 kB / 392.4 MB, free: 30.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.613e-05/0.2396, allocations: 176.3 kB / 392.5 MB, free: 30.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.2397, allocations: 4.375 kB / 392.5 MB, free: 30.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2397, allocations: 8.312 kB / 392.6 MB, free: 30.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.2398, allocations: 63.52 kB / 392.6 MB, free: 30.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2398, allocations: 0 / 392.6 MB, free: 30.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2398, allocations: 4 kB / 392.6 MB, free: 30.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2399, allocations: 8 kB / 392.6 MB, free: 30.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.575e-05/0.24, allocations: 19.97 kB / 392.7 MB, free: 30.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.2401, allocations: 178.5 kB / 392.8 MB, free: 30.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.2403, allocations: 77.19 kB / 392.9 MB, free: 30.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.2404, allocations: 25.78 kB / 392.9 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004952/0.2454, allocations: 3.305 MB / 396.2 MB, free: 26.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.2454, allocations: 42.44 kB / 396.3 MB, free: 26.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2454, allocations: 0 / 396.3 MB, free: 26.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002628/0.2457, allocations: 85.5 kB / 396.4 MB, free: 26.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.2457, allocations: 77.11 kB / 396.4 MB, free: 26.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.878e-05/0.2458, allocations: 117.8 kB / 396.5 MB, free: 26.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.2458, allocations: 29.7 kB / 396.6 MB, free: 26.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.811e-05/0.2458, allocations: 88.14 kB / 396.7 MB, free: 25.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.2458, allocations: 19.8 kB / 396.7 MB, free: 25.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.2459, allocations: 17.72 kB / 396.7 MB, free: 25.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.2459, allocations: 314.8 kB / 397 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.965e-05/0.246, allocations: 16 kB / 397 MB, free: 25.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.78e-05/0.246, allocations: 25.7 kB / 397 MB, free: 25.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.2462, allocations: 41.64 kB / 397.1 MB, free: 25.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2462, allocations: 0 / 397.1 MB, free: 25.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001353/0.2463, allocations: 81.45 kB / 397.2 MB, free: 25.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2463, allocations: 4 kB / 397.2 MB, free: 25.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2463, allocations: 0 / 397.2 MB, free: 25.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2464, allocations: 0 / 397.2 MB, free: 25.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.2464, allocations: 15.94 kB / 397.2 MB, free: 25.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2464, allocations: 3.984 kB / 397.2 MB, free: 25.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.605e-05/0.2465, allocations: 0 / 397.2 MB, free: 25.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.2465, allocations: 8 kB / 397.2 MB, free: 25.38 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 4.722e-05/0.2466, allocations: 113.8 kB / 397.3 MB, free: 25.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.2466, allocations: 11.84 kB / 397.3 MB, free: 25.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.2468, allocations: 101.9 kB / 397.4 MB, free: 25.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2468, allocations: 4.094 kB / 397.4 MB, free: 25.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.2468, allocations: 3.984 kB / 397.4 MB, free: 25.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2468, allocations: 7.938 kB / 397.4 MB, free: 25.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.135e-05/0.2469, allocations: 165.7 kB / 397.6 MB, free: 24.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2469, allocations: 0 / 397.6 MB, free: 24.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.247, allocations: 15.92 kB / 397.6 MB, free: 24.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.247, allocations: 0 / 397.6 MB, free: 24.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.247, allocations: 4 kB / 397.6 MB, free: 24.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.247, allocations: 0 / 397.6 MB, free: 24.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.247, allocations: 0 / 397.6 MB, free: 24.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.2474, allocations: 0.6794 MB / 398.3 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.2474, allocations: 85.09 kB / 398.4 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.2474, allocations: 4.188 kB / 398.4 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.587e-05/0.2475, allocations: 7.984 kB / 398.4 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.2475, allocations: 8 kB / 398.4 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.2476, allocations: 4 kB / 398.4 MB, free: 24.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.228e-05/0.2476, allocations: 99.52 kB / 398.5 MB, free: 23.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2476, allocations: 0 / 398.5 MB, free: 23.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006958/0.2483, allocations: 335.6 kB / 398.8 MB, free: 23.61 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.0008471/0.2492, allocations: 0.5884 MB / 399.4 MB, free: 23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.2493, allocations: 31.98 kB / 399.4 MB, free: 22.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2493, allocations: 0 / 399.4 MB, free: 22.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.2494, allocations: 23.92 kB / 399.5 MB, free: 22.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.2496, allocations: 8 kB / 399.5 MB, free: 22.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.2499, allocations: 289.7 kB / 399.8 MB, free: 22.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.039e-05/0.25, allocations: 0.6809 MB / 400.4 MB, free: 21.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.2501, allocations: 47.88 kB / 400.5 MB, free: 21.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.2502, allocations: 19.42 kB / 400.5 MB, free: 21.85 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2502, allocations: 0 / 400.5 MB, free: 21.85 MB / 298.7 MB Notification: Performance of Templates: time 0.009263/0.2595, allocations: 8.909 MB / 409.4 MB, free: 12.93 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","../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