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.001264/0.001264, allocations: 104.2 kB / 18.39 MB, free: 4.551 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.001243/0.001243, allocations: 184.3 kB / 19.33 MB, free: 3.629 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.376/1.376, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001497/0.001497, allocations: 55.94 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002964/0.1061, allocations: 1.361 MB / 377.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2477/0.3538, allocations: 23.67 MB / 400.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.3539, allocations: 1.188 kB / 400.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.3541, allocations: 14.31 kB / 400.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02113/0.3753, allocations: 5.632 MB / 406.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.3765, allocations: 343.1 kB / 406.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.3767, allocations: 80.44 kB / 406.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.215e-05/0.3767, allocations: 6.547 kB / 406.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/0.3768, allocations: 34.88 kB / 406.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.3769, allocations: 30.62 kB / 407 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.377, allocations: 4.156 kB / 407 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02131/0.3983, allocations: 8.755 MB / 415.7 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.3984, allocations: 11.2 kB / 415.7 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.3985, allocations: 27.48 kB / 415.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01462/0.4131, allocations: 4.349 MB / 420.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.4132, allocations: 4 kB / 420.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4132, allocations: 0 / 420.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.4132, allocations: 0 / 420.1 MB, free: 3.328 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.003309/0.4165, allocations: 0.8974 MB / 421 MB, free: 2.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4166, allocations: 12.03 kB / 421 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.4166, allocations: 8.844 kB / 421 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.4168, allocations: 192.1 kB / 421.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.4169, allocations: 4 kB / 421.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.4169, allocations: 3.938 kB / 421.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.4171, allocations: 79.38 kB / 421.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4171, allocations: 0 / 421.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.4171, allocations: 0 / 421.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.4171, allocations: 0 / 421.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.4172, allocations: 31.98 kB / 421.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.4175, allocations: 198.4 kB / 421.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.4178, allocations: 97.17 kB / 421.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.178e-05/0.4179, allocations: 29.77 kB / 421.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.673e-05/0.418, allocations: 8 kB / 421.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.418, allocations: 42.5 kB / 421.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.418, allocations: 3.938 kB / 421.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003265/0.4183, allocations: 101.6 kB / 421.8 MB, free: 1.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.4184, allocations: 77.11 kB / 421.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.4185, allocations: 145.8 kB / 422 MB, free: 1.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4186, allocations: 25.7 kB / 422.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.4186, allocations: 80.14 kB / 422.1 MB, free: 1.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.4187, allocations: 23.66 kB / 422.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.4187, allocations: 25.7 kB / 422.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4189, allocations: 322.8 kB / 422.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.049e-05/0.4189, allocations: 15.98 kB / 422.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.419, allocations: 30.58 kB / 422.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.4191, allocations: 57.2 kB / 422.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4192, allocations: 0 / 422.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001832/0.4193, allocations: 81.56 kB / 422.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4194, allocations: 8 kB / 422.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4194, allocations: 2.812 kB / 422.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.4194, allocations: 0 / 422.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.4195, allocations: 11.94 kB / 422.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4195, allocations: 4 kB / 422.7 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.4195, allocations: 7.984 kB / 422.7 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.4196, allocations: 4 kB / 422.7 MB, free: 488 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.65e-05/0.4196, allocations: 113.8 kB / 422.8 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.4197, allocations: 7.906 kB / 422.8 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.4199, allocations: 102.2 kB / 422.9 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4199, allocations: 0 / 422.9 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.42, allocations: 0 / 422.9 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.42, allocations: 0 / 422.9 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.4201, allocations: 181.5 kB / 423.1 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4201, allocations: 0 / 423.1 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-05/0.4202, allocations: 15.98 kB / 423.1 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4202, allocations: 4 kB / 423.1 MB, free: 0 / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.4202, allocations: 0 / 423.1 MB, free: 0 / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4202, allocations: 0 / 423.1 MB, free: 0 / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.871e-05/0.4202, allocations: 4.047 kB / 423.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.4205, allocations: 120.4 kB / 423.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.4206, allocations: 85.03 kB / 423.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.4206, allocations: 6.062 kB / 423.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.4207, allocations: 11.98 kB / 423.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.4207, allocations: 4 kB / 423.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.4207, allocations: 4 kB / 423.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.496e-05/0.4208, allocations: 115.2 kB / 423.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4208, allocations: 0 / 423.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003401/0.4242, allocations: 0.9252 MB / 424.4 MB, free: 14.7 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.005633/0.4299, allocations: 1.353 MB / 425.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003061/0.4302, allocations: 43.97 kB / 425.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4302, allocations: 0 / 425.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.585e-05/0.4303, allocations: 31.92 kB / 425.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.4306, allocations: 16.86 kB / 425.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.4311, allocations: 218.3 kB / 426.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.4314, allocations: 0.689 MB / 426.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.4315, allocations: 15.44 kB / 426.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of SimCode: time 3.046e-06/0.4315, allocations: 4 kB / 426.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Templates: time 0.03295/0.4644, allocations: 19.39 MB / 446.2 MB, free: 8.859 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