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.001184/0.001184, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 60.97 kB / 307.1 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09123/0.0928, allocations: 50.53 MB / 357.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00252/0.09535, allocations: 1.436 MB / 359.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1874/0.2828, allocations: 23.72 MB / 382.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.863e-05/0.2829, allocations: 0 / 382.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.2831, allocations: 10.5 kB / 382.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01679/0.2999, allocations: 5.39 MB / 388.2 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007521/0.3007, allocations: 321.3 kB / 388.5 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.3008, allocations: 73.55 kB / 388.6 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.3009, allocations: 2.781 kB / 388.6 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.385e-05/0.3009, allocations: 33.52 kB / 388.6 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.324e-05/0.301, allocations: 43.69 kB / 388.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.301, allocations: 4.031 kB / 388.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01542/0.3165, allocations: 8.828 MB / 397.5 MB, free: 1.688 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.3166, allocations: 16.22 kB / 397.5 MB, free: 1.676 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.3166, allocations: 26.22 kB / 397.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005717/0.3223, allocations: 2.966 MB / 400.5 MB, free: 64 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.3224, allocations: 0 / 400.5 MB, free: 64 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3224, allocations: 4 kB / 400.5 MB, free: 60 kB / 302.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3224, allocations: 0 / 400.5 MB, free: 60 kB / 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.002399/0.3248, allocations: 0.9187 MB / 401.4 MB, free: 15.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3248, allocations: 8.906 kB / 401.4 MB, free: 15.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.3249, allocations: 7.562 kB / 401.4 MB, free: 15.33 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.3251, allocations: 204.1 kB / 401.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3251, allocations: 6.938 kB / 401.6 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.3251, allocations: 2.656 kB / 401.6 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.3253, allocations: 72.8 kB / 401.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3253, allocations: 0 / 401.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3254, allocations: 2.531 kB / 401.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3254, allocations: 0 / 401.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.3255, allocations: 39.41 kB / 401.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.3257, allocations: 185.9 kB / 401.9 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.326, allocations: 99.55 kB / 402 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.299e-05/0.3261, allocations: 30.95 kB / 402.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.375e-05/0.3262, allocations: 12.8 kB / 402.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.3262, allocations: 34.56 kB / 402.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.3262, allocations: 4 kB / 402.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003216/0.3266, allocations: 102.1 kB / 402.2 MB, free: 14.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.3266, allocations: 78.33 kB / 402.3 MB, free: 14.51 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.3267, allocations: 138.4 kB / 402.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.3268, allocations: 28.48 kB / 402.5 MB, free: 14.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.3269, allocations: 84.14 kB / 402.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.3269, allocations: 22.61 kB / 402.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.327, allocations: 26.59 kB / 402.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3272, allocations: 325.4 kB / 402.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-05/0.3273, allocations: 12.34 kB / 402.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.3274, allocations: 31.58 kB / 402.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.3276, allocations: 57.95 kB / 403 MB, free: 13.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3276, allocations: 0 / 403 MB, free: 13.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00029/0.3279, allocations: 81.42 kB / 403.1 MB, free: 13.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.3279, allocations: 5.375 kB / 403.1 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.328, allocations: 0 / 403.1 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.328, allocations: 1.5 kB / 403.1 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3281, allocations: 12.2 kB / 403.1 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3281, allocations: 5.469 kB / 403.1 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.3282, allocations: 5.438 kB / 403.1 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3282, allocations: 3.375 kB / 403.1 MB, free: 13.78 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 0.0001186/0.3284, allocations: 119.5 kB / 403.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.3284, allocations: 8.281 kB / 403.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.3288, allocations: 105.3 kB / 403.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3288, allocations: 1.781 kB / 403.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3288, allocations: 0 / 403.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3289, allocations: 0 / 403.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.3291, allocations: 190.9 kB / 403.5 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3291, allocations: 0 / 403.5 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.3292, allocations: 8.469 kB / 403.5 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.3292, allocations: 5.344 kB / 403.5 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3293, allocations: 1.312 kB / 403.5 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.3293, allocations: 3.938 kB / 403.5 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3293, allocations: 1.125 kB / 403.5 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.3296, allocations: 119.6 kB / 403.7 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3297, allocations: 88.31 kB / 403.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.3298, allocations: 4 kB / 403.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.3299, allocations: 6.438 kB / 403.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.33, allocations: 7.547 kB / 403.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.33, allocations: 1.625 kB / 403.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.3301, allocations: 109.3 kB / 403.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3301, allocations: 0 / 403.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.004364/0.3345, allocations: 0.9531 MB / 404.8 MB, free: 12.17 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.008032/0.3426, allocations: 1.344 MB / 406.2 MB, free: 10.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003592/0.343, allocations: 51.91 kB / 406.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.343, allocations: 0 / 406.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.3431, allocations: 23.92 kB / 406.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.3435, allocations: 19.97 kB / 406.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.3441, allocations: 228.5 kB / 406.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3445, allocations: 0.6855 MB / 407.2 MB, free: 9.766 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.3446, allocations: 19.42 kB / 407.2 MB, free: 9.746 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3446, allocations: 4 kB / 407.2 MB, free: 9.742 MB / 318.1 MB Notification: Performance of Templates: time 0.04017/0.3848, allocations: 18.36 MB / 425.6 MB, free: 7.352 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/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