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.001096/0.001096, allocations: 109.5 kB / 17.73 MB, free: 5.188 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.001105/0.001105, allocations: 187 kB / 18.66 MB, free: 4.258 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.302/1.302, allocations: 205.1 MB / 224.5 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.001997/0.001997, allocations: 51.94 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1104, allocations: 46.62 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.003147/0.1136, allocations: 1.361 MB / 376.5 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.198/0.3116, allocations: 23.67 MB / 400.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.3117, allocations: 0 / 400.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.3119, allocations: 10 kB / 400.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01805/0.3299, allocations: 5.636 MB / 405.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.331, allocations: 335.1 kB / 406.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.3312, allocations: 79.38 kB / 406.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.3312, allocations: 2.75 kB / 406.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.654e-05/0.3313, allocations: 36.41 kB / 406.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.93e-05/0.3314, allocations: 38.95 kB / 406.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.3314, allocations: 2.75 kB / 406.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01934/0.3508, allocations: 8.747 MB / 415.1 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.3509, allocations: 12.42 kB / 415.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.3509, allocations: 31.03 kB / 415.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01442/0.3654, allocations: 4.354 MB / 419.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3654, allocations: 4 kB / 419.5 MB, free: 3.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3654, allocations: 0 / 419.5 MB, free: 3.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.3655, allocations: 0 / 419.5 MB, free: 3.324 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.003569/0.369, allocations: 0.9278 MB / 420.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3691, allocations: 8.031 kB / 420.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.493e-05/0.3692, allocations: 8.891 kB / 420.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.3694, allocations: 211.9 kB / 420.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.3694, allocations: 2.859 kB / 420.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.3694, allocations: 4 kB / 420.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.3696, allocations: 71.39 kB / 420.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.3696, allocations: 0 / 420.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.3696, allocations: 4 kB / 420.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3697, allocations: 0 / 420.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3698, allocations: 43.84 kB / 420.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.37, allocations: 186.5 kB / 420.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.3704, allocations: 101.2 kB / 421 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.137e-05/0.3705, allocations: 25.66 kB / 421 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.502e-05/0.3705, allocations: 11.98 kB / 421 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.3706, allocations: 43.44 kB / 421.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3706, allocations: 3.938 kB / 421.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003294/0.3709, allocations: 97.55 kB / 421.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.371, allocations: 81.11 kB / 421.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.3711, allocations: 137.8 kB / 421.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3711, allocations: 25.7 kB / 421.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.3712, allocations: 92.12 kB / 421.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.3713, allocations: 15.8 kB / 421.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.3713, allocations: 21.72 kB / 421.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3714, allocations: 326.8 kB / 421.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.087e-05/0.3715, allocations: 15.98 kB / 421.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.299e-05/0.3716, allocations: 29.7 kB / 421.9 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.3717, allocations: 60.02 kB / 422 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3717, allocations: 4 kB / 422 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001961/0.3719, allocations: 81.56 kB / 422.1 MB, free: 472 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.372, allocations: 7.984 kB / 422.1 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.372, allocations: 0 / 422.1 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.372, allocations: 0 / 422.1 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.3721, allocations: 12 kB / 422.1 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3721, allocations: 0 / 422.1 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.3721, allocations: 4 kB / 422.1 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3721, allocations: 4 kB / 422.1 MB, free: 444 kB / 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.879e-05/0.3722, allocations: 121.8 kB / 422.2 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.3723, allocations: 4 kB / 422.2 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.3725, allocations: 98.62 kB / 422.3 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3725, allocations: 0 / 422.3 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.3725, allocations: 0 / 422.3 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3725, allocations: 8.359 kB / 422.3 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.3727, allocations: 177.5 kB / 422.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3727, allocations: 4 kB / 422.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.924e-05/0.3728, allocations: 11.98 kB / 422.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3728, allocations: 7.938 kB / 422.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3728, allocations: 0 / 422.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3728, allocations: 7.938 kB / 422.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3728, allocations: 0 / 422.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.3731, allocations: 118.5 kB / 422.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.3731, allocations: 89.03 kB / 422.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.3732, allocations: 4 kB / 422.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.3732, allocations: 8 kB / 422.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.3733, allocations: 7.984 kB / 422.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.3733, allocations: 0 / 422.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.416e-05/0.3734, allocations: 111.2 kB / 422.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3734, allocations: 4 kB / 422.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002995/0.3764, allocations: 0.9314 MB / 423.8 MB, free: 14.64 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.00555/0.382, allocations: 1.363 MB / 425.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002486/0.3822, allocations: 43.97 kB / 425.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3822, allocations: 0 / 425.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.707e-05/0.3823, allocations: 31.92 kB / 425.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.3826, allocations: 21.84 kB / 425.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.383, allocations: 197.1 kB / 425.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.3833, allocations: 0.689 MB / 426.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.134e-05/0.3834, allocations: 15.97 kB / 426.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.3834, allocations: 15.44 kB / 426.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3834, allocations: 3.938 kB / 426.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Templates: time 0.04016/0.4236, allocations: 28.52 MB / 454.7 MB, free: 15.64 MB / 382.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/jenkins/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/jenkins/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