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.001299/0.001299, allocations: 111.1 kB / 17.06 MB, free: 6 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.001123/0.001123, allocations: 196 kB / 18 MB, free: 5.078 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.293/1.293, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009757/0.0009757, allocations: 51.91 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2199, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002059/0.222, allocations: 1.359 MB / 402.1 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.2338, allocations: 12.08 MB / 414.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.2339, allocations: 0 / 414.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.2339, allocations: 3.938 kB / 414.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002506/0.2364, allocations: 1.043 MB / 415.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.2377, allocations: 0.6333 MB / 415.8 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.962e-05/0.2379, allocations: 59.72 kB / 415.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.2379, allocations: 8 kB / 415.9 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.369e-05/0.2379, allocations: 27.91 kB / 415.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.679e-05/0.238, allocations: 39.89 kB / 416 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2381, allocations: 4 kB / 416 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.2406, allocations: 1.608 MB / 417.6 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.2406, allocations: 15.91 kB / 417.6 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.2407, allocations: 23.94 kB / 417.6 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.2423, allocations: 1.068 MB / 418.7 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2423, allocations: 3.984 kB / 418.7 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2423, allocations: 3.938 kB / 418.7 MB, free: 6.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.2423, allocations: 0 / 418.7 MB, free: 6.824 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.0006442/0.2429, allocations: 0.5342 MB / 419.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.243, allocations: 8.031 kB / 419.2 MB, free: 6.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.2431, allocations: 16.84 kB / 419.3 MB, free: 6.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.2432, allocations: 172.3 kB / 419.4 MB, free: 6.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2433, allocations: 4.375 kB / 419.4 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.2433, allocations: 8.375 kB / 419.4 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.2434, allocations: 63.52 kB / 419.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.2435, allocations: 0 / 419.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2435, allocations: 0 / 419.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.2435, allocations: 7.984 kB / 419.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.2436, allocations: 27.86 kB / 419.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.2438, allocations: 178.5 kB / 419.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.2441, allocations: 81.12 kB / 419.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.46e-05/0.2442, allocations: 29.77 kB / 419.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006141/0.2503, allocations: 3.294 MB / 423.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.2504, allocations: 38.5 kB / 423.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.2504, allocations: 4 kB / 423.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003313/0.2507, allocations: 85.86 kB / 423.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.2508, allocations: 77.11 kB / 423.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2509, allocations: 117.8 kB / 423.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.2509, allocations: 29.7 kB / 423.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.251, allocations: 80.14 kB / 423.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.251, allocations: 23.7 kB / 423.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.251, allocations: 21.72 kB / 423.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2512, allocations: 314.8 kB / 423.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.2512, allocations: 12 kB / 423.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.645e-05/0.2513, allocations: 25.64 kB / 423.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.2514, allocations: 41.73 kB / 424 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2514, allocations: 4 kB / 424 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000173/0.2516, allocations: 81.45 kB / 424.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2516, allocations: 4 kB / 424.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2516, allocations: 0 / 424.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2517, allocations: 0 / 424.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.2517, allocations: 15.98 kB / 424.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2517, allocations: 0 / 424.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.08e-05/0.2518, allocations: 3.938 kB / 424.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.2518, allocations: 4 kB / 424.1 MB, free: 0.7422 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 8.666e-05/0.2519, allocations: 121.8 kB / 424.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.2519, allocations: 3.938 kB / 424.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.2522, allocations: 109.6 kB / 424.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2522, allocations: 0 / 424.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.2522, allocations: 4 kB / 424.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2523, allocations: 128 / 424.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.2524, allocations: 169.7 kB / 424.5 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2524, allocations: 0 / 424.5 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.2525, allocations: 15.92 kB / 424.5 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2525, allocations: 4 kB / 424.5 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2525, allocations: 4 kB / 424.5 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2525, allocations: 0 / 424.5 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2525, allocations: 0 / 424.5 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.2527, allocations: 101.9 kB / 424.6 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.2528, allocations: 96.94 kB / 424.7 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.2528, allocations: 0 / 424.7 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.2529, allocations: 4 kB / 424.7 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.2529, allocations: 11.98 kB / 424.7 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.2529, allocations: 0 / 424.7 MB, free: 8 kB / 334.1 MB Notification: Performance of sorting global known variables: time 7.454e-05/0.253, allocations: 95.33 kB / 424.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.253, allocations: 4 kB / 424.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000721/0.2537, allocations: 319.6 kB / 425.1 MB, free: 15.59 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.001035/0.2548, allocations: 0.5922 MB / 425.7 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.255, allocations: 31.92 kB / 425.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.255, allocations: 3.938 kB / 425.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.794e-05/0.2551, allocations: 32.2 kB / 425.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.2553, allocations: 11.94 kB / 425.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.2556, allocations: 152.1 kB / 425.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.2559, allocations: 0.6846 MB / 426.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.256, allocations: 52.17 kB / 426.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.2561, allocations: 19.44 kB / 426.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2561, allocations: 4 kB / 426.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Templates: time 0.01274/0.2688, allocations: 8.978 MB / 435.7 MB, free: 4.969 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/jenkins/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/jenkins/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