Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 116.4 kB / 17.99 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 205.8 kB / 18.92 MB, free: 4.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.413/1.413, allocations: 227.7 MB / 247.4 MB, free: 8.824 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.83 kB / 307.4 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09845/0.1004, allocations: 50.54 MB / 357.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002603/0.103, allocations: 1.431 MB / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1925/0.2955, allocations: 23.73 MB / 383.1 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.726e-05/0.2956, allocations: 0 / 383.1 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.2957, allocations: 6.141 kB / 383.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01615/0.3119, allocations: 5.391 MB / 388.5 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000752/0.3127, allocations: 324 kB / 388.8 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.3128, allocations: 80.47 kB / 388.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.3129, allocations: 3.312 kB / 388.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.273e-05/0.3129, allocations: 29.28 kB / 388.9 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.095e-05/0.313, allocations: 48.31 kB / 389 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.313, allocations: 6.562 kB / 389 MB, free: 5.711 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01485/0.3279, allocations: 8.821 MB / 397.8 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.328, allocations: 14.72 kB / 397.8 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.328, allocations: 27.8 kB / 397.8 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005987/0.334, allocations: 2.974 MB / 400.8 MB, free: 15.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3341, allocations: 0 / 400.8 MB, free: 15.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.3341, allocations: 0 / 400.8 MB, free: 15.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3341, allocations: 3.938 kB / 400.8 MB, free: 15.72 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.002824/0.3369, allocations: 0.9163 MB / 401.7 MB, free: 15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.337, allocations: 7.5 kB / 401.7 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.337, allocations: 7.422 kB / 401.7 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.3372, allocations: 195.1 kB / 401.9 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3373, allocations: 3.938 kB / 401.9 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.3373, allocations: 8.141 kB / 401.9 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3375, allocations: 69.23 kB / 402 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3375, allocations: 7.922 kB / 402 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3375, allocations: 0 / 402 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3375, allocations: 1.406 kB / 402 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.3376, allocations: 31.23 kB / 402 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.3379, allocations: 193.3 kB / 402.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.3382, allocations: 97.61 kB / 402.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.525e-05/0.3383, allocations: 35.27 kB / 402.4 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/0.3383, allocations: 7.906 kB / 402.4 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3384, allocations: 37.88 kB / 402.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3384, allocations: 0 / 402.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003126/0.3387, allocations: 101 kB / 402.5 MB, free: 14.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.3388, allocations: 81.09 kB / 402.6 MB, free: 14.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.3389, allocations: 138.8 kB / 402.7 MB, free: 14.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.3389, allocations: 27.48 kB / 402.7 MB, free: 14.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.339, allocations: 93.83 kB / 402.8 MB, free: 13.94 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.339, allocations: 21.53 kB / 402.9 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.3391, allocations: 27.8 kB / 402.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3392, allocations: 321 kB / 403.2 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/0.3393, allocations: 13.92 kB / 403.2 MB, free: 13.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.3394, allocations: 31.89 kB / 403.2 MB, free: 13.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.3395, allocations: 50.8 kB / 403.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3395, allocations: 5.5 kB / 403.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001905/0.3397, allocations: 81.78 kB / 403.4 MB, free: 13.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3397, allocations: 7.812 kB / 403.4 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3397, allocations: 0 / 403.4 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3398, allocations: 1.625 kB / 403.4 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.3398, allocations: 9.562 kB / 403.4 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3398, allocations: 0 / 403.4 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.3399, allocations: 5.609 kB / 403.4 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3399, allocations: 3.188 kB / 403.4 MB, free: 13.46 MB / 318.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.479e-05/0.34, allocations: 123.3 kB / 403.5 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.34, allocations: 9.25 kB / 403.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.3403, allocations: 101.6 kB / 403.6 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3403, allocations: 2.5 kB / 403.6 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3403, allocations: 0 / 403.6 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3403, allocations: 4.078 kB / 403.6 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.3405, allocations: 182.1 kB / 403.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3405, allocations: 0 / 403.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.3406, allocations: 17.02 kB / 403.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3406, allocations: 1.719 kB / 403.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.3406, allocations: 2.188 kB / 403.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3406, allocations: 0 / 403.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3406, allocations: 0 / 403.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.3408, allocations: 120 kB / 404 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.872e-05/0.3409, allocations: 91.66 kB / 404 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.3409, allocations: 4 kB / 404 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.341, allocations: 6.734 kB / 404.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.3411, allocations: 2.938 kB / 404.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.3411, allocations: 6.656 kB / 404.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.3412, allocations: 118.3 kB / 404.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3412, allocations: 3.938 kB / 404.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002894/0.3441, allocations: 0.9408 MB / 405.1 MB, free: 11.93 MB / 318.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.004934/0.3491, allocations: 1.336 MB / 406.5 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.3493, allocations: 55.84 kB / 406.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3494, allocations: 0 / 406.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.247e-05/0.3494, allocations: 19.98 kB / 406.5 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.3497, allocations: 26.78 kB / 406.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.3502, allocations: 225.1 kB / 406.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3505, allocations: 0.6844 MB / 407.5 MB, free: 9.535 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.3506, allocations: 19.44 kB / 407.5 MB, free: 9.516 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3506, allocations: 3.938 kB / 407.5 MB, free: 9.512 MB / 318.1 MB Notification: Performance of Templates: time 0.03117/0.3818, allocations: 18.36 MB / 425.8 MB, free: 7.121 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches