Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001233, allocations: 107.9 kB / 18.36 MB, free: 4.586 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.001251/0.001251, allocations: 188.5 kB / 19.3 MB, free: 3.66 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.351/1.351, 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.001266/0.001266, allocations: 55.92 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08579/0.08706, allocations: 46.61 MB / 375.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00224/0.08935, allocations: 1.365 MB / 377.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2298/0.3192, allocations: 23.67 MB / 400.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.3193, allocations: 0 / 400.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.3195, allocations: 11.94 kB / 400.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02165/0.3412, allocations: 5.633 MB / 406.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3422, allocations: 336.5 kB / 406.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.3424, allocations: 79.38 kB / 406.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.3425, allocations: 2.75 kB / 406.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.537e-05/0.3425, allocations: 32.42 kB / 406.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.92e-05/0.3426, allocations: 33.64 kB / 406.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3427, allocations: 4.125 kB / 406.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0236/0.3663, allocations: 8.757 MB / 415.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.3664, allocations: 14.98 kB / 415.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.9e-05/0.3664, allocations: 27.8 kB / 415.7 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.3814, allocations: 4.348 MB / 420.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/0.3815, allocations: 4 kB / 420.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.3815, allocations: 0 / 420.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.3815, allocations: 0 / 420.1 MB, free: 3.352 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.00339/0.3849, allocations: 0.9012 MB / 421 MB, free: 2.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.3849, allocations: 8.031 kB / 421 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.373e-05/0.385, allocations: 8.844 kB / 421 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.3853, allocations: 196.1 kB / 421.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.3853, allocations: 0 / 421.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.3853, allocations: 4 kB / 421.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.3856, allocations: 79.27 kB / 421.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3856, allocations: 3.781 kB / 421.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3856, allocations: 0 / 421.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3856, allocations: 4 kB / 421.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.3858, allocations: 35.97 kB / 421.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.3861, allocations: 194.4 kB / 421.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.3864, allocations: 101.2 kB / 421.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.064e-05/0.3865, allocations: 25.7 kB / 421.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-05/0.3866, allocations: 11.98 kB / 421.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3866, allocations: 42.56 kB / 421.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3866, allocations: 3.938 kB / 421.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003438/0.387, allocations: 89.66 kB / 421.8 MB, free: 1.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.3871, allocations: 85.05 kB / 421.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3872, allocations: 137.8 kB / 422 MB, free: 1.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3872, allocations: 25.7 kB / 422 MB, free: 1.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.3873, allocations: 84.14 kB / 422.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.3873, allocations: 23.64 kB / 422.1 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.3874, allocations: 21.72 kB / 422.1 MB, free: 1.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3875, allocations: 326.8 kB / 422.4 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.3876, allocations: 12 kB / 422.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.786e-05/0.3876, allocations: 32.2 kB / 422.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.3878, allocations: 54.77 kB / 422.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/0.3878, allocations: 0 / 422.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001905/0.388, allocations: 88.14 kB / 422.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.388, allocations: 4 kB / 422.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.388, allocations: 0 / 422.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3881, allocations: 0 / 422.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.3881, allocations: 15.98 kB / 422.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3882, allocations: 3.938 kB / 422.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.3882, allocations: 7.938 kB / 422.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3882, allocations: 4 kB / 422.7 MB, free: 0.5 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 9.907e-05/0.3883, allocations: 117.8 kB / 422.8 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.3884, allocations: 4.281 kB / 422.8 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.3886, allocations: 102.7 kB / 422.9 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3886, allocations: 0 / 422.9 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3887, allocations: 0 / 422.9 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3887, allocations: 3.938 kB / 422.9 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.3888, allocations: 185.5 kB / 423.1 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3888, allocations: 0 / 423.1 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.3889, allocations: 12.88 kB / 423.1 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3889, allocations: 4 kB / 423.1 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.3889, allocations: 0 / 423.1 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.3889, allocations: 7.984 kB / 423.1 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3889, allocations: 0 / 423.1 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.3892, allocations: 119.9 kB / 423.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.031e-05/0.3893, allocations: 85.09 kB / 423.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.3893, allocations: 0 / 423.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.3894, allocations: 12 kB / 423.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.3895, allocations: 3.984 kB / 423.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.3895, allocations: 4 kB / 423.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.953e-05/0.3896, allocations: 107.3 kB / 423.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3896, allocations: 0 / 423.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003378/0.3929, allocations: 0.9291 MB / 424.3 MB, free: 14.72 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.006063/0.399, allocations: 1.356 MB / 425.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.3994, allocations: 47.91 kB / 425.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.3994, allocations: 0 / 425.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.439e-05/0.3995, allocations: 32.2 kB / 425.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.3999, allocations: 16.95 kB / 425.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.4005, allocations: 222.3 kB / 426 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.4008, allocations: 0.689 MB / 426.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.4009, allocations: 15.44 kB / 426.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4009, allocations: 0 / 426.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Templates: time 0.03605/0.437, allocations: 19.38 MB / 446.1 MB, free: 8.875 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches