Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009637/0.0009634, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.29/1.29, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007087/0.0007087, allocations: 84.8 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2135, allocations: 47.58 MB / 375.1 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001208/0.2147, allocations: 1.069 MB / 376.1 MB, free: 44.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009325/0.2241, allocations: 11.13 MB / 387.3 MB, free: 35.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.2242, allocations: 1.219 kB / 387.3 MB, free: 35.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.2242, allocations: 3.984 kB / 387.3 MB, free: 35.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.227, allocations: 0.8048 MB / 388.1 MB, free: 34.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.2284, allocations: 0.5054 MB / 388.6 MB, free: 34.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.554e-05/0.2284, allocations: 56.88 kB / 388.6 MB, free: 34.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.2285, allocations: 2.219 kB / 388.7 MB, free: 34.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.2286, allocations: 24.7 kB / 388.7 MB, free: 34.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.032e-05/0.2286, allocations: 35.48 kB / 388.7 MB, free: 34.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.2287, allocations: 3.25 kB / 388.7 MB, free: 34.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.2316, allocations: 1.506 MB / 390.2 MB, free: 33.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.2316, allocations: 11.98 kB / 390.2 MB, free: 33.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.2316, allocations: 45.58 kB / 390.3 MB, free: 33.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009037/0.2325, allocations: 0.7299 MB / 391 MB, free: 32.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.2326, allocations: 0 / 391 MB, free: 32.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.2326, allocations: 0 / 391 MB, free: 32.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.2326, allocations: 0 / 391 MB, free: 32.74 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.0006244/0.2332, allocations: 0.5341 MB / 391.5 MB, free: 32.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2333, allocations: 12.03 kB / 391.6 MB, free: 32.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.2334, allocations: 12.83 kB / 391.6 MB, free: 32.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.2336, allocations: 176.4 kB / 391.7 MB, free: 31.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.2336, allocations: 384 / 391.7 MB, free: 31.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.2336, allocations: 384 / 391.7 MB, free: 31.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.2338, allocations: 75.45 kB / 391.8 MB, free: 31.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2338, allocations: 0 / 391.8 MB, free: 31.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.2338, allocations: 7.984 kB / 391.8 MB, free: 31.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2338, allocations: 0 / 391.8 MB, free: 31.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.971e-05/0.2339, allocations: 23.98 kB / 391.8 MB, free: 31.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.2341, allocations: 174.5 kB / 392 MB, free: 31.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.2344, allocations: 85.17 kB / 392.1 MB, free: 31.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.802e-05/0.2344, allocations: 25.77 kB / 392.1 MB, free: 31.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005109/0.2395, allocations: 3.297 MB / 395.4 MB, free: 27.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.2396, allocations: 42.5 kB / 395.5 MB, free: 27.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.2396, allocations: 0 / 395.5 MB, free: 27.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002807/0.2399, allocations: 81.59 kB / 395.5 MB, free: 27.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.2399, allocations: 81.11 kB / 395.6 MB, free: 27.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.045e-05/0.24, allocations: 117.8 kB / 395.7 MB, free: 27.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.24, allocations: 25.7 kB / 395.8 MB, free: 27.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.322e-05/0.24, allocations: 80.14 kB / 395.8 MB, free: 27.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.2401, allocations: 31.62 kB / 395.9 MB, free: 27.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.2401, allocations: 4 kB / 395.9 MB, free: 27.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.2401, allocations: 314.8 kB / 396.2 MB, free: 26.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.741e-05/0.2402, allocations: 11.98 kB / 396.2 MB, free: 26.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.213e-05/0.2402, allocations: 25.7 kB / 396.2 MB, free: 26.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.246e-05/0.2403, allocations: 37.7 kB / 396.3 MB, free: 26.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2404, allocations: 0 / 396.3 MB, free: 26.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001367/0.2405, allocations: 73.55 kB / 396.3 MB, free: 26.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2405, allocations: 8 kB / 396.3 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2405, allocations: 0 / 396.3 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2406, allocations: 480 / 396.3 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.2406, allocations: 12 kB / 396.3 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2406, allocations: 4 kB / 396.3 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.2407, allocations: 3.906 kB / 396.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.2407, allocations: 7.984 kB / 396.4 MB, free: 26.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.575e-05/0.2408, allocations: 113.8 kB / 396.5 MB, free: 26.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.2408, allocations: 11.94 kB / 396.5 MB, free: 26.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.241, allocations: 97.45 kB / 396.6 MB, free: 26.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.241, allocations: 4 kB / 396.6 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2411, allocations: 0 / 396.6 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.2411, allocations: 0 / 396.6 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.2412, allocations: 181.4 kB / 396.8 MB, free: 26.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2412, allocations: 4 kB / 396.8 MB, free: 26.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.2412, allocations: 15.92 kB / 396.8 MB, free: 26.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2413, allocations: 3.938 kB / 396.8 MB, free: 26.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2413, allocations: 128 / 396.8 MB, free: 26.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2413, allocations: 8 kB / 396.8 MB, free: 26.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.2413, allocations: 0 / 396.8 MB, free: 26.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.2415, allocations: 97.97 kB / 396.9 MB, free: 26.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.2415, allocations: 96.94 kB / 397 MB, free: 25.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.2416, allocations: 4 kB / 397 MB, free: 25.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.2416, allocations: 0 / 397 MB, free: 25.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.2417, allocations: 7.984 kB / 397 MB, free: 25.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.2417, allocations: 8 kB / 397 MB, free: 25.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.778e-05/0.2417, allocations: 95.52 kB / 397.1 MB, free: 25.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2418, allocations: 0 / 397.1 MB, free: 25.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000746/0.2425, allocations: 323.6 kB / 397.4 MB, free: 25.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00097/0.2435, allocations: 0.573 MB / 398 MB, free: 24.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.2436, allocations: 27.98 kB / 398 MB, free: 24.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2437, allocations: 0 / 398 MB, free: 24.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.672e-05/0.2437, allocations: 27.92 kB / 398 MB, free: 24.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.2439, allocations: 19.92 kB / 398.1 MB, free: 24.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.2443, allocations: 215 kB / 398.3 MB, free: 24.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.2444, allocations: 0.6848 MB / 399 MB, free: 23.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.2445, allocations: 23.42 kB / 399 MB, free: 23.9 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2445, allocations: 0 / 399 MB, free: 23.9 MB / 298.7 MB Notification: Performance of Templates: time 0.006535/0.251, allocations: 5.93 MB / 404.9 MB, free: 17.96 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches