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.001053/0.001053, allocations: 110.6 kB / 17.73 MB, free: 5.316 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.0009893/0.0009894, allocations: 190.9 kB / 18.67 MB, free: 4.383 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.348/1.348, allocations: 205.1 MB / 224.5 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.001191/0.001191, allocations: 55.94 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07603/0.07722, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002504/0.07977, allocations: 1.365 MB / 376.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1846/0.2644, allocations: 23.68 MB / 400.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.2645, allocations: 0 / 400.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.2646, allocations: 6.609 kB / 400.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01703/0.2817, allocations: 5.637 MB / 405.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008811/0.2826, allocations: 339.1 kB / 406.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.2827, allocations: 79.38 kB / 406.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.2828, allocations: 2.75 kB / 406.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.614e-05/0.2829, allocations: 32.41 kB / 406.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.997e-05/0.283, allocations: 42.95 kB / 406.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.283, allocations: 2.75 kB / 406.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01878/0.3018, allocations: 8.738 MB / 415 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.3019, allocations: 16.22 kB / 415.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.3019, allocations: 27.77 kB / 415.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.3138, allocations: 4.351 MB / 419.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3138, allocations: 0 / 419.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3138, allocations: 4 kB / 419.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.3138, allocations: 0 / 419.4 MB, free: 3.32 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.002576/0.3164, allocations: 0.9013 MB / 420.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3165, allocations: 8.031 kB / 420.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.3165, allocations: 8.844 kB / 420.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.3167, allocations: 196 kB / 420.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.3167, allocations: 4 kB / 420.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.3167, allocations: 4 kB / 420.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.3169, allocations: 67.39 kB / 420.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3169, allocations: 0 / 420.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.317, allocations: 8 kB / 420.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.317, allocations: 0 / 420.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.3171, allocations: 35.91 kB / 420.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.3173, allocations: 190.4 kB / 420.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.3176, allocations: 101.2 kB / 421 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.47e-05/0.3177, allocations: 34.53 kB / 421 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.344e-05/0.3178, allocations: 15.97 kB / 421 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.3178, allocations: 34.56 kB / 421 MB, free: 1.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.3178, allocations: 7.938 kB / 421 MB, free: 1.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003156/0.3181, allocations: 101.6 kB / 421.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.3182, allocations: 77.11 kB / 421.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3183, allocations: 133.8 kB / 421.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.3184, allocations: 25.7 kB / 421.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.3184, allocations: 96.12 kB / 421.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.3184, allocations: 19.66 kB / 421.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.3185, allocations: 25.72 kB / 421.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3186, allocations: 318.8 kB / 421.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.3187, allocations: 19.98 kB / 421.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.188e-05/0.3187, allocations: 25.7 kB / 421.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.3189, allocations: 60.34 kB / 421.9 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3189, allocations: 0 / 421.9 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001818/0.3191, allocations: 89.52 kB / 422 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3191, allocations: 7.984 kB / 422 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3191, allocations: 0 / 422 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3191, allocations: 4 kB / 422 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.127e-05/0.3192, allocations: 8 kB / 422 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3192, allocations: 0 / 422 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/0.3193, allocations: 0 / 422 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.3193, allocations: 4 kB / 422 MB, free: 480 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.016e-05/0.3194, allocations: 121.8 kB / 422.2 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.3194, allocations: 11.91 kB / 422.2 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.3197, allocations: 97.48 kB / 422.3 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3197, allocations: 0 / 422.3 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3197, allocations: 0 / 422.3 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3197, allocations: 7.984 kB / 422.3 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.3199, allocations: 181.6 kB / 422.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3199, allocations: 0 / 422.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.3199, allocations: 12.31 kB / 422.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.32, allocations: 0 / 422.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.32, allocations: 8 kB / 422.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.32, allocations: 3.938 kB / 422.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.32, allocations: 3.938 kB / 422.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.3202, allocations: 115.5 kB / 422.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.3203, allocations: 89.03 kB / 422.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.3203, allocations: 0 / 422.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.3204, allocations: 8 kB / 422.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.3204, allocations: 13.06 kB / 422.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.3204, allocations: 0 / 422.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.139e-05/0.3205, allocations: 115.2 kB / 422.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3205, allocations: 0 / 422.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002649/0.3232, allocations: 0.9174 MB / 423.7 MB, free: 14.68 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.004531/0.3277, allocations: 1.351 MB / 425.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.328, allocations: 43.97 kB / 425.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.328, allocations: 4 kB / 425.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.017e-05/0.3281, allocations: 27.92 kB / 425.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.3283, allocations: 18.8 kB / 425.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.3288, allocations: 192.6 kB / 425.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.3291, allocations: 0.689 MB / 426.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.261e-05/0.3291, allocations: 11.97 kB / 426.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.3292, allocations: 23.44 kB / 426.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3292, allocations: 3.938 kB / 426.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Templates: time 0.0357/0.3649, allocations: 28.52 MB / 454.6 MB, free: 15.7 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