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.001558/0.001557, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001926/0.001926, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2588, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002433/0.2613, allocations: 1.374 MB / 411.3 MB, free: 200 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02908/0.2904, allocations: 23.6 MB / 434.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.2905, allocations: 0 / 434.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.2907, allocations: 7.922 kB / 434.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01636/0.307, allocations: 5.989 MB / 440.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008792/0.3079, allocations: 338.8 kB / 441.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.3081, allocations: 79.69 kB / 441.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.3082, allocations: 7.938 kB / 441.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.652e-05/0.3082, allocations: 31.91 kB / 441.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3084, allocations: 43.77 kB / 441.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.3084, allocations: 4 kB / 441.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01619/0.3246, allocations: 8.883 MB / 450.3 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.3247, allocations: 15.97 kB / 450.3 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.3248, allocations: 27.86 kB / 450.3 MB, free: 9.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.3349, allocations: 4.379 MB / 454.7 MB, free: 4.695 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.335, allocations: 0 / 454.7 MB, free: 4.695 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.335, allocations: 4 kB / 454.7 MB, free: 4.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.335, allocations: 7.875 kB / 454.7 MB, free: 4.684 MB / 366.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.002302/0.3373, allocations: 0.9124 MB / 455.6 MB, free: 3.723 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3373, allocations: 8.031 kB / 455.6 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.3374, allocations: 8.844 kB / 455.6 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.3376, allocations: 199.8 kB / 455.8 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3376, allocations: 0 / 455.8 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.3376, allocations: 4 kB / 455.8 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.3378, allocations: 71.39 kB / 455.9 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3379, allocations: 8 kB / 455.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3379, allocations: 3.938 kB / 455.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3379, allocations: 0 / 455.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.338, allocations: 39.91 kB / 455.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.3382, allocations: 190.5 kB / 456.1 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.3386, allocations: 105.1 kB / 456.2 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.117e-05/0.3386, allocations: 25.77 kB / 456.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-05/0.3387, allocations: 8 kB / 456.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.3387, allocations: 42.55 kB / 456.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3387, allocations: 0 / 456.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003218/0.3391, allocations: 105.8 kB / 456.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.3391, allocations: 81.11 kB / 456.5 MB, free: 2.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.3393, allocations: 137.8 kB / 456.6 MB, free: 2.535 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3393, allocations: 25.7 kB / 456.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.3393, allocations: 88.14 kB / 456.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.3394, allocations: 11.8 kB / 456.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.3394, allocations: 21.72 kB / 456.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.3395, allocations: 318.8 kB / 457.1 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/0.3396, allocations: 23.92 kB / 457.1 MB, free: 2.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.3397, allocations: 33.7 kB / 457.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.3398, allocations: 50.06 kB / 457.2 MB, free: 1.938 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3398, allocations: 0 / 457.2 MB, free: 1.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001864/0.34, allocations: 81.52 kB / 457.3 MB, free: 1.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.34, allocations: 6.812 kB / 457.3 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.34, allocations: 7.922 kB / 457.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3401, allocations: 8 kB / 457.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.872e-05/0.3401, allocations: 11.98 kB / 457.3 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3401, allocations: 0 / 457.3 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.3402, allocations: 8 kB / 457.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.3402, allocations: 0 / 457.3 MB, free: 1.812 MB / 366.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.302e-05/0.3403, allocations: 121.7 kB / 457.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.3403, allocations: 11.84 kB / 457.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.3406, allocations: 97.55 kB / 457.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.3406, allocations: 0 / 457.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.3406, allocations: 4 kB / 457.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3406, allocations: 3.938 kB / 457.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.3408, allocations: 185.5 kB / 457.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3408, allocations: 0 / 457.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.3408, allocations: 8 kB / 457.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3408, allocations: 0 / 457.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3409, allocations: 4 kB / 457.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3409, allocations: 0 / 457.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3409, allocations: 128 / 457.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.3411, allocations: 121.8 kB / 457.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.3412, allocations: 85.33 kB / 457.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.3412, allocations: 3.984 kB / 457.9 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.3413, allocations: 11.94 kB / 458 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.3413, allocations: 7.984 kB / 458 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.3413, allocations: 7.984 kB / 458 MB, free: 1.047 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.018e-05/0.3414, allocations: 111.3 kB / 458.1 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3414, allocations: 0 / 458.1 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002565/0.344, allocations: 0.9486 MB / 459 MB, free: 15.98 MB / 382.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.005489/0.3495, allocations: 1.333 MB / 460.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002943/0.3498, allocations: 51.91 kB / 460.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.3499, allocations: 0 / 460.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.35, allocations: 27.98 kB / 460.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.3503, allocations: 22.28 kB / 460.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.3508, allocations: 210.1 kB / 460.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.351, allocations: 0.6846 MB / 461.3 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.3511, allocations: 15.44 kB / 461.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3511, allocations: 0 / 461.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of Templates: time 0.02812/0.3792, allocations: 18.33 MB / 479.7 MB, free: 11.23 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches