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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 103.2 kB / 18.4 MB, free: 4.68 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.001653/0.001653, allocations: 191.3 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 47.92 kB / 329.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0709/0.07214, allocations: 46.62 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002253/0.07442, allocations: 1.357 MB / 377.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1574/0.2318, allocations: 12.09 MB / 389.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.044e-05/0.2319, allocations: 0 / 389.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.232, allocations: 5.906 kB / 389.3 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.2344, allocations: 1.052 MB / 390.3 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.2356, allocations: 0.6268 MB / 390.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.2357, allocations: 65.28 kB / 391 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.194e-05/0.2358, allocations: 6.25 kB / 391 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.36e-05/0.2358, allocations: 25.03 kB / 391 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.2359, allocations: 40.34 kB / 391.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.2359, allocations: 3.281 kB / 391.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002449/0.2384, allocations: 1.616 MB / 392.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.2384, allocations: 5.766 kB / 392.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.2385, allocations: 24.06 kB / 392.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.2399, allocations: 1.069 MB / 393.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2399, allocations: 0.6562 kB / 393.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2399, allocations: 3.938 kB / 393.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.2399, allocations: 0 / 393.8 MB, free: 4.148 MB / 318.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.0005687/0.2405, allocations: 0.5423 MB / 394.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2405, allocations: 10.56 kB / 394.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.2407, allocations: 12.02 kB / 394.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.371e-05/0.2408, allocations: 177.4 kB / 394.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2408, allocations: 3.031 kB / 394.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.2408, allocations: 1.625 kB / 394.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.241, allocations: 68.72 kB / 394.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.241, allocations: 0 / 394.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.241, allocations: 5.375 kB / 394.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.241, allocations: 1.156 kB / 394.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.2411, allocations: 26.77 kB / 394.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.2413, allocations: 176.9 kB / 394.8 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.2415, allocations: 83.53 kB / 394.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.2416, allocations: 28.41 kB / 394.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005938/0.2475, allocations: 3.291 MB / 398.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.2476, allocations: 36.89 kB / 398.3 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.2476, allocations: 3.938 kB / 398.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002725/0.2478, allocations: 79.52 kB / 398.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.453e-05/0.2479, allocations: 78.48 kB / 398.4 MB, free: 464 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/0.2479, allocations: 119.2 kB / 398.5 MB, free: 352 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.248, allocations: 29.7 kB / 398.6 MB, free: 316 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.677e-05/0.248, allocations: 87.88 kB / 398.6 MB, free: 228 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.248, allocations: 19.97 kB / 398.7 MB, free: 212 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.248, allocations: 15.88 kB / 398.7 MB, free: 196 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.2481, allocations: 317.9 kB / 399 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.2482, allocations: 9.125 kB / 399 MB, free: 15.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.242e-05/0.2483, allocations: 29.91 kB / 399 MB, free: 15.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.2484, allocations: 42.7 kB / 399.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2484, allocations: 0 / 399.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001671/0.2486, allocations: 74.33 kB / 399.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2486, allocations: 9.531 kB / 399.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2486, allocations: 2.562 kB / 399.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2486, allocations: 2.125 kB / 399.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.2487, allocations: 10.38 kB / 399.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2487, allocations: 1.375 kB / 399.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.2487, allocations: 14 kB / 399.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.2488, allocations: 3.312 kB / 399.2 MB, free: 15.77 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.051e-05/0.2489, allocations: 113 kB / 399.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.2489, allocations: 7.438 kB / 399.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.2491, allocations: 110 kB / 399.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2492, allocations: 0.7031 kB / 399.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2492, allocations: 1.125 kB / 399.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.2492, allocations: 88.41 kB / 399.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.2493, allocations: 1.656 kB / 399.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.872e-05/0.2493, allocations: 2.844 kB / 399.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.2494, allocations: 10.69 kB / 399.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002305/0.2496, allocations: 230.4 kB / 399.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002398/0.2499, allocations: 315.9 kB / 400 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.653e-05/0.2499, allocations: 22.02 kB / 400.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.451e-05/0.25, allocations: 91.39 kB / 400.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Backend: time 6.41e-07/0.25, allocations: 0 / 400.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.2516, allocations: 0.6122 MB / 400.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004382/0.252, allocations: 0.5931 MB / 401.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of Templates: time 0.01342/0.2654, allocations: 9.96 MB / 411.3 MB, free: 9.617 MB / 334.1 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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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