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.001251/0.001251, allocations: 118 kB / 17.83 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 201.2 kB / 18.78 MB, free: 4.293 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.442/1.442, allocations: 230.4 MB / 250 MB, free: 9.086 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.001866/0.001866, allocations: 63.83 kB / 367.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2398, allocations: 53.31 MB / 420.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002441/0.2422, allocations: 1.393 MB / 422 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03146/0.2737, allocations: 23.67 MB / 445.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.2737, allocations: 4 kB / 445.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.2739, allocations: 15.86 kB / 445.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01531/0.2892, allocations: 6.003 MB / 451.7 MB, free: 9.168 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.2899, allocations: 342.8 kB / 452.1 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.2901, allocations: 79.7 kB / 452.1 MB, free: 8.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.2901, allocations: 3.984 kB / 452.1 MB, free: 8.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.2902, allocations: 39.84 kB / 452.2 MB, free: 8.711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.266e-05/0.2903, allocations: 39.83 kB / 452.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.2903, allocations: 4 kB / 452.2 MB, free: 8.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01531/0.3056, allocations: 8.998 MB / 461.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.3056, allocations: 15.97 kB / 461.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.3057, allocations: 31.81 kB / 461.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008685/0.3144, allocations: 4.393 MB / 465.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3144, allocations: 0 / 465.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3144, allocations: 0 / 465.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3144, allocations: 0 / 465.7 MB, free: 11.21 MB / 382.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.001926/0.3163, allocations: 0.9433 MB / 466.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3163, allocations: 12.03 kB / 466.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.3164, allocations: 8.891 kB / 466.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.3166, allocations: 203.8 kB / 466.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3166, allocations: 7.984 kB / 466.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.3166, allocations: 4 kB / 466.8 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.3168, allocations: 75.33 kB / 466.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3168, allocations: 3.938 kB / 466.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3168, allocations: 0 / 466.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3168, allocations: 0 / 466.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.3169, allocations: 39.97 kB / 467 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.3172, allocations: 190.5 kB / 467.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.3175, allocations: 97.11 kB / 467.2 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.811e-05/0.3175, allocations: 33.77 kB / 467.3 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.3176, allocations: 8 kB / 467.3 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.3176, allocations: 34.56 kB / 467.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.3176, allocations: 0 / 467.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003173/0.3179, allocations: 97.55 kB / 467.4 MB, free: 9.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.318, allocations: 81.11 kB / 467.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3181, allocations: 149.8 kB / 467.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3181, allocations: 25.7 kB / 467.7 MB, free: 8.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.3182, allocations: 88.14 kB / 467.7 MB, free: 8.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.3182, allocations: 15.8 kB / 467.8 MB, free: 8.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.3183, allocations: 21.7 kB / 467.8 MB, free: 8.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3184, allocations: 322.8 kB / 468.1 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.3185, allocations: 15.98 kB / 468.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/0.3185, allocations: 33.7 kB / 468.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.3187, allocations: 49.7 kB / 468.2 MB, free: 8.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3187, allocations: 384 / 468.2 MB, free: 8.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001918/0.3189, allocations: 90.05 kB / 468.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3189, allocations: 4 kB / 468.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3189, allocations: 0 / 468.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3189, allocations: 3.938 kB / 468.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/0.319, allocations: 12 kB / 468.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.319, allocations: 4 kB / 468.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.319, allocations: 3.953 kB / 468.3 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.319, allocations: 4 kB / 468.3 MB, free: 8.297 MB / 382.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.896e-05/0.3191, allocations: 125.7 kB / 468.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.3191, allocations: 4 kB / 468.4 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.3194, allocations: 97.48 kB / 468.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3194, allocations: 3.984 kB / 468.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3194, allocations: 4 kB / 468.5 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3194, allocations: 7.938 kB / 468.5 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3195, allocations: 177.5 kB / 468.7 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3195, allocations: 4 kB / 468.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.3196, allocations: 11.98 kB / 468.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3196, allocations: 0 / 468.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3196, allocations: 0 / 468.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3196, allocations: 4 kB / 468.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3196, allocations: 128 / 468.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.3198, allocations: 121.8 kB / 468.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.767e-05/0.3199, allocations: 96.98 kB / 469 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3199, allocations: 0 / 469 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.32, allocations: 4 kB / 469 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.3201, allocations: 7.984 kB / 469 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3201, allocations: 4 kB / 469 MB, free: 7.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.403e-05/0.3201, allocations: 111.2 kB / 469.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3201, allocations: 4 kB / 469.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002107/0.3223, allocations: 0.9586 MB / 470 MB, free: 6.457 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.003794/0.326, allocations: 1.34 MB / 471.4 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.3262, allocations: 51.91 kB / 471.4 MB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3262, allocations: 4 kB / 471.4 MB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.3263, allocations: 19.98 kB / 471.5 MB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.3265, allocations: 20.05 kB / 471.5 MB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.327, allocations: 180.4 kB / 471.7 MB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.3273, allocations: 0.6885 MB / 472.3 MB, free: 4.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.427e-05/0.3273, allocations: 15.97 kB / 472.4 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.3273, allocations: 15.44 kB / 472.4 MB, free: 4.066 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3273, allocations: 0 / 472.4 MB, free: 4.066 MB / 382.1 MB Notification: Performance of Templates: time 0.03941/0.3667, allocations: 27.27 MB / 499.6 MB, free: 8.777 MB / 414.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/jenkins/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/jenkins/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