Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009426/0.0009426, allocations: 94.75 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 204 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001915/0.0001915, allocations: 8 kB / 306.6 MB, free: 1.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09107/0.09128, allocations: 51.49 MB / 358.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001386/0.0927, allocations: 1.052 MB / 359.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1948/0.2875, allocations: 20.43 MB / 379.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/0.2876, allocations: 0 / 379.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.2877, allocations: 8.516 kB / 379.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01336/0.3011, allocations: 4.497 MB / 384 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.3017, allocations: 217.8 kB / 384.3 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.14e-05/0.3018, allocations: 46.39 kB / 384.3 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.3019, allocations: 8.562 kB / 384.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.184e-05/0.3019, allocations: 26.41 kB / 384.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/0.302, allocations: 37.31 kB / 384.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.302, allocations: 3.625 kB / 384.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01662/0.3187, allocations: 7.857 MB / 392.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.3187, allocations: 12.11 kB / 392.2 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.3188, allocations: 36.52 kB / 392.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007778/0.3266, allocations: 2.795 MB / 395.1 MB, free: 4.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3266, allocations: 0 / 395.1 MB, free: 4.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.3266, allocations: 1.5 kB / 395.1 MB, free: 4.312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.3267, allocations: 0 / 395.1 MB, free: 4.312 MB / 302.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.003904/0.3306, allocations: 0.8965 MB / 396 MB, free: 3.602 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.3306, allocations: 9.406 kB / 396 MB, free: 3.602 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.3307, allocations: 8.156 kB / 396 MB, free: 3.598 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3308, allocations: 197.6 kB / 396.2 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3309, allocations: 1.344 kB / 396.2 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.3309, allocations: 3.219 kB / 396.2 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.331, allocations: 76.05 kB / 396.3 MB, free: 3.309 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.331, allocations: 1.188 kB / 396.3 MB, free: 3.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.3311, allocations: 0 / 396.3 MB, free: 3.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3311, allocations: 1.344 kB / 396.3 MB, free: 3.309 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.3312, allocations: 39.81 kB / 396.3 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.3314, allocations: 189.4 kB / 396.5 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.3317, allocations: 96.73 kB / 396.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.747e-05/0.3317, allocations: 9.281 kB / 396.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.3318, allocations: 40.25 kB / 396.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.3318, allocations: 0 / 396.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002862/0.332, allocations: 96.38 kB / 396.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.3321, allocations: 86.91 kB / 396.8 MB, free: 2.801 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.3322, allocations: 141.7 kB / 397 MB, free: 2.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.3322, allocations: 27.52 kB / 397 MB, free: 2.648 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.3323, allocations: 90.52 kB / 397.1 MB, free: 2.559 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.3323, allocations: 13.91 kB / 397.1 MB, free: 2.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.3323, allocations: 4 kB / 397.1 MB, free: 2.543 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.3324, allocations: 317.4 kB / 397.4 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.293e-05/0.3324, allocations: 19.33 kB / 397.4 MB, free: 2.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.915e-05/0.3325, allocations: 26.3 kB / 397.4 MB, free: 2.199 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.763e-05/0.3325, allocations: 17.38 kB / 397.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3325, allocations: 7.953 kB / 397.5 MB, free: 2.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001621/0.3327, allocations: 90.72 kB / 397.6 MB, free: 2.125 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3327, allocations: 5.562 kB / 397.6 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3327, allocations: 2.312 kB / 397.6 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3328, allocations: 0 / 397.6 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.108e-05/0.3328, allocations: 8.625 kB / 397.6 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3328, allocations: 3.344 kB / 397.6 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.696e-05/0.3329, allocations: 0 / 397.6 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3329, allocations: 2.562 kB / 397.6 MB, free: 2.125 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.84e-05/0.333, allocations: 124.2 kB / 397.7 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.333, allocations: 11.83 kB / 397.7 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.3332, allocations: 98.08 kB / 397.8 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3333, allocations: 6.156 kB / 397.8 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3333, allocations: 3.984 kB / 397.8 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3333, allocations: 3.938 kB / 397.8 MB, free: 1.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.3334, allocations: 181.8 kB / 398 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3334, allocations: 0 / 398 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.3335, allocations: 23.38 kB / 398 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3335, allocations: 0 / 398 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3335, allocations: 4 kB / 398 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3335, allocations: 2 kB / 398 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3335, allocations: 0 / 398 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.3337, allocations: 125 kB / 398.1 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.3337, allocations: 99.48 kB / 398.2 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.3338, allocations: 6.719 kB / 398.2 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.3338, allocations: 2 kB / 398.2 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.3339, allocations: 6.734 kB / 398.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.3339, allocations: 2.938 kB / 398.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.077e-05/0.334, allocations: 113.6 kB / 398.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.334, allocations: 0 / 398.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.003329/0.3373, allocations: 0.9372 MB / 399.3 MB, free: 1.148 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003546/0.3409, allocations: 1.231 MB / 400.5 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.3411, allocations: 49.09 kB / 400.6 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3411, allocations: 0 / 400.6 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.211e-05/0.3412, allocations: 24.61 kB / 400.6 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.3414, allocations: 19.72 kB / 400.6 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.3417, allocations: 210.3 kB / 400.8 MB, free: 416 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.3419, allocations: 0.6902 MB / 401.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.184e-05/0.342, allocations: 13.64 kB / 401.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.342, allocations: 18.14 kB / 401.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.342, allocations: 0 / 401.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of Templates: time 0.03615/0.3782, allocations: 27.56 MB / 429.1 MB, free: 4.164 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches