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.001056/0.001056, allocations: 109.4 kB / 17.74 MB, free: 5.348 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.001313/0.001313, allocations: 184.2 kB / 18.68 MB, free: 4.426 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.298/1.298, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009838/0.0009838, allocations: 39.94 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2133, allocations: 49.44 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.002342/0.2157, allocations: 1.351 MB / 402.8 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.228, allocations: 12.08 MB / 414.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.2281, allocations: 0 / 414.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.2281, allocations: 7.984 kB / 414.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002563/0.2307, allocations: 1.043 MB / 415.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.2321, allocations: 0.6295 MB / 416.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2322, allocations: 59.7 kB / 416.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.2322, allocations: 8 kB / 416.6 MB, free: 9.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.793e-05/0.2323, allocations: 27.86 kB / 416.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.2324, allocations: 31.91 kB / 416.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.2324, allocations: 4 kB / 416.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.2352, allocations: 1.615 MB / 418.3 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.2352, allocations: 7.938 kB / 418.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.2353, allocations: 31.84 kB / 418.3 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.2372, allocations: 1.068 MB / 419.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2373, allocations: 0 / 419.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2373, allocations: 0 / 419.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2373, allocations: 0 / 419.4 MB, free: 6.977 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.0007733/0.2381, allocations: 0.5409 MB / 419.9 MB, free: 6.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2381, allocations: 12.02 kB / 419.9 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.2382, allocations: 12.84 kB / 419.9 MB, free: 6.367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.2384, allocations: 176.3 kB / 420.1 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2384, allocations: 384 / 420.1 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.2384, allocations: 8.375 kB / 420.1 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.2386, allocations: 71.45 kB / 420.2 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.2386, allocations: 0 / 420.2 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2386, allocations: 4 kB / 420.2 MB, free: 6.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2386, allocations: 4 kB / 420.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.2387, allocations: 15.98 kB / 420.2 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.2389, allocations: 186.5 kB / 420.4 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.2392, allocations: 85.11 kB / 420.5 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.2393, allocations: 25.78 kB / 420.5 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006478/0.2458, allocations: 3.301 MB / 423.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.2458, allocations: 42.44 kB / 423.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.2458, allocations: 0 / 423.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002929/0.2461, allocations: 81.66 kB / 423.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.2462, allocations: 84.98 kB / 424 MB, free: 1.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.2463, allocations: 117.8 kB / 424.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.2463, allocations: 25.7 kB / 424.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.2463, allocations: 80.14 kB / 424.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.2464, allocations: 19.72 kB / 424.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.2464, allocations: 21.7 kB / 424.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.983e-05/0.2465, allocations: 318.8 kB / 424.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.2466, allocations: 11.98 kB / 424.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.758e-05/0.2466, allocations: 25.7 kB / 424.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.2468, allocations: 33.7 kB / 424.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.2468, allocations: 4 kB / 424.7 MB, free: 1 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001699/0.2469, allocations: 73.94 kB / 424.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.247, allocations: 11.94 kB / 424.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.247, allocations: 0 / 424.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.247, allocations: 0 / 424.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.2471, allocations: 12 kB / 424.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.2471, allocations: 320 / 424.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.2471, allocations: 11.86 kB / 424.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.2472, allocations: 8 kB / 424.8 MB, free: 0.8789 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.097e-05/0.2472, allocations: 109.8 kB / 424.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.2473, allocations: 7.969 kB / 424.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.2475, allocations: 113.4 kB / 425 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.2475, allocations: 0 / 425 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2475, allocations: 0 / 425 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.2476, allocations: 85.09 kB / 425.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.2476, allocations: 4 kB / 425.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.2477, allocations: 8 kB / 425.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.2478, allocations: 7.984 kB / 425.1 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002296/0.248, allocations: 232.1 kB / 425.3 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002568/0.2483, allocations: 322.1 kB / 425.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.7e-05/0.2483, allocations: 20.05 kB / 425.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.86e-05/0.2484, allocations: 91.27 kB / 425.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Backend: time 3.9e-07/0.2484, allocations: 3.938 kB / 425.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.2501, allocations: 0.6071 MB / 426.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of SimCode: time 0.0004518/0.2505, allocations: 0.5939 MB / 426.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of Templates: time 0.01426/0.2648, allocations: 9.935 MB / 436.9 MB, free: 4.637 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