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.00168/0.00168, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002058/0.002058, allocations: 207.8 kB / 19.25 MB, free: 3.941 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.462/1.462, allocations: 227.7 MB / 247.7 MB, free: 10.36 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.001945/0.001945, allocations: 56.25 kB / 307.9 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1035, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002887/0.1064, allocations: 1.375 MB / 359.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1884/0.2949, allocations: 23.6 MB / 383.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.2949, allocations: 0 / 383.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.2951, allocations: 8.328 kB / 383.4 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0158/0.3109, allocations: 5.996 MB / 389.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.3117, allocations: 344 kB / 389.7 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.3118, allocations: 76.8 kB / 389.8 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.3119, allocations: 2.375 kB / 389.8 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.935e-05/0.312, allocations: 35.33 kB / 389.8 MB, free: 5.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.949e-05/0.3121, allocations: 39.36 kB / 389.9 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.3121, allocations: 7.375 kB / 389.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01763/0.3297, allocations: 8.717 MB / 398.6 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.164e-05/0.3298, allocations: 10.92 kB / 398.6 MB, free: 0.918 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.3299, allocations: 23.25 kB / 398.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01195/0.3418, allocations: 4.388 MB / 403 MB, free: 14.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.3419, allocations: 4 kB / 403 MB, free: 14.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3419, allocations: 0 / 403 MB, free: 14.26 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3419, allocations: 1.875 kB / 403 MB, free: 14.26 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.002779/0.3447, allocations: 0.9139 MB / 404 MB, free: 13.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3448, allocations: 13.67 kB / 404 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.3448, allocations: 3.469 kB / 404 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.345, allocations: 191.8 kB / 404.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.3451, allocations: 10.62 kB / 404.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.3451, allocations: 2.688 kB / 404.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.3453, allocations: 77.88 kB / 404.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3453, allocations: 1.969 kB / 404.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3453, allocations: 7.938 kB / 404.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.3454, allocations: 1.844 kB / 404.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.3455, allocations: 31.11 kB / 404.3 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.3457, allocations: 190.2 kB / 404.5 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.3461, allocations: 101.1 kB / 404.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.635e-05/0.3462, allocations: 37.77 kB / 404.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.587e-05/0.3462, allocations: 8 kB / 404.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.3463, allocations: 42.5 kB / 404.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3463, allocations: 0 / 404.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003445/0.3466, allocations: 105.5 kB / 404.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.3467, allocations: 77.11 kB / 404.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.3469, allocations: 137.8 kB / 405 MB, free: 12.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3469, allocations: 25.7 kB / 405 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.3469, allocations: 84.14 kB / 405.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.347, allocations: 23.66 kB / 405.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.347, allocations: 25.7 kB / 405.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3472, allocations: 314.8 kB / 405.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.3473, allocations: 19.98 kB / 405.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.829e-05/0.3473, allocations: 33.7 kB / 405.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.3475, allocations: 49.64 kB / 405.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3475, allocations: 4 kB / 405.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002084/0.3477, allocations: 83.66 kB / 405.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3477, allocations: 8 kB / 405.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3477, allocations: 0 / 405.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3478, allocations: 0 / 405.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.809e-05/0.3478, allocations: 8 kB / 405.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3478, allocations: 4 kB / 405.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.3479, allocations: 3.984 kB / 405.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3479, allocations: 0 / 405.6 MB, free: 11.72 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.372e-05/0.348, allocations: 121.8 kB / 405.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3481, allocations: 7.906 kB / 405.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.3483, allocations: 98.3 kB / 405.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3483, allocations: 4.375 kB / 405.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3483, allocations: 0 / 405.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3484, allocations: 0 / 405.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.3485, allocations: 185.5 kB / 406.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3485, allocations: 3.938 kB / 406.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.4e-05/0.3486, allocations: 16.73 kB / 406.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3486, allocations: 8 kB / 406.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.3486, allocations: 0 / 406.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3486, allocations: 0 / 406.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3487, allocations: 0 / 406.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.3489, allocations: 123.5 kB / 406.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.255e-05/0.349, allocations: 85 kB / 406.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.349, allocations: 8 kB / 406.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.3491, allocations: 4.859 kB / 406.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.3492, allocations: 8 kB / 406.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.3492, allocations: 4 kB / 406.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.05e-05/0.3493, allocations: 115.2 kB / 406.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3493, allocations: 0 / 406.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003052/0.3523, allocations: 0.9447 MB / 407.4 MB, free: 9.898 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.005634/0.358, allocations: 1.343 MB / 408.7 MB, free: 8.562 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002905/0.3583, allocations: 51.84 kB / 408.8 MB, free: 8.512 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3583, allocations: 3.938 kB / 408.8 MB, free: 8.508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.98e-05/0.3584, allocations: 24.27 kB / 408.8 MB, free: 8.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.3587, allocations: 27.91 kB / 408.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.3593, allocations: 208.7 kB / 409 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.3596, allocations: 0.6883 MB / 409.7 MB, free: 7.504 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.3597, allocations: 15.44 kB / 409.7 MB, free: 7.488 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3597, allocations: 4 kB / 409.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of Templates: time 0.03164/0.3913, allocations: 18.35 MB / 428.1 MB, free: 5.098 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