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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001792/0.001792, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002197/0.002197, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 258.2 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "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.002106/0.002106, allocations: 63.89 kB / 379 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2426, allocations: 53.36 MB / 432.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002414/0.245, allocations: 1.396 MB / 433.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03171/0.2767, allocations: 23.81 MB / 457.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.2768, allocations: 7.938 kB / 457.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.2769, allocations: 3.938 kB / 457.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01434/0.2912, allocations: 6.031 MB / 463.6 MB, free: 7.652 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008145/0.292, allocations: 366.7 kB / 464 MB, free: 7.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.2922, allocations: 71.66 kB / 464.1 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.2923, allocations: 7.984 kB / 464.1 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.2923, allocations: 35.84 kB / 464.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.2924, allocations: 39.89 kB / 464.1 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.2924, allocations: 8 kB / 464.2 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01603/0.3085, allocations: 9.042 MB / 473.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.3085, allocations: 15.98 kB / 473.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.3086, allocations: 31.86 kB / 473.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009589/0.3181, allocations: 4.393 MB / 477.6 MB, free: 9.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.3182, allocations: 3.984 kB / 477.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3182, allocations: 0 / 477.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.3182, allocations: 3.938 kB / 477.6 MB, free: 9.621 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.002221/0.3204, allocations: 0.868 MB / 478.5 MB, free: 8.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3204, allocations: 8.031 kB / 478.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.3205, allocations: 12.83 kB / 478.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.3206, allocations: 146 kB / 478.7 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3207, allocations: 0 / 478.7 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.3207, allocations: 11.94 kB / 478.7 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.3209, allocations: 71.39 kB / 478.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3209, allocations: 0 / 478.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3209, allocations: 0 / 478.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.3209, allocations: 0 / 478.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.321, allocations: 39.91 kB / 478.8 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.3212, allocations: 165.6 kB / 479 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.3215, allocations: 97.17 kB / 479.1 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.542e-05/0.3216, allocations: 29.7 kB / 479.1 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.572e-05/0.3217, allocations: 15.98 kB / 479.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.3217, allocations: 30.56 kB / 479.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3217, allocations: 0 / 479.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003118/0.322, allocations: 101.5 kB / 479.2 MB, free: 7.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.3221, allocations: 77.11 kB / 479.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3222, allocations: 141.8 kB / 479.4 MB, free: 7.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.3222, allocations: 25.7 kB / 479.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.3223, allocations: 88.14 kB / 479.6 MB, free: 7.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.3223, allocations: 31.77 kB / 479.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.3223, allocations: 13.72 kB / 479.6 MB, free: 7.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3225, allocations: 326.8 kB / 479.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.818e-05/0.3225, allocations: 15.94 kB / 479.9 MB, free: 7.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.3226, allocations: 29.7 kB / 480 MB, free: 7.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.3227, allocations: 57.69 kB / 480 MB, free: 7.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3227, allocations: 0 / 480 MB, free: 7.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000182/0.3229, allocations: 77.61 kB / 480.1 MB, free: 6.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3229, allocations: 8.375 kB / 480.1 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3229, allocations: 3.984 kB / 480.1 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.323, allocations: 0 / 480.1 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.323, allocations: 11.98 kB / 480.1 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.323, allocations: 7.938 kB / 480.1 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.3231, allocations: 7.953 kB / 480.1 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3231, allocations: 4 kB / 480.1 MB, free: 6.902 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 9.057e-05/0.3232, allocations: 113.8 kB / 480.2 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.3232, allocations: 11.92 kB / 480.3 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.3234, allocations: 94.12 kB / 480.4 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3234, allocations: 3.938 kB / 480.4 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3234, allocations: 0 / 480.4 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3234, allocations: 4.031 kB / 480.4 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.3236, allocations: 160.6 kB / 480.5 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3236, allocations: 0 / 480.5 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.283e-05/0.3237, allocations: 12 kB / 480.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3237, allocations: 0 / 480.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3237, allocations: 7.984 kB / 480.5 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3237, allocations: 4.125 kB / 480.5 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3237, allocations: 4 kB / 480.5 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.3239, allocations: 109.9 kB / 480.7 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.324, allocations: 19.88 kB / 480.7 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.324, allocations: 0 / 480.7 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.324, allocations: 7.938 kB / 480.7 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.3241, allocations: 3.984 kB / 480.7 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3241, allocations: 8 kB / 480.7 MB, free: 6.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.302e-05/0.3242, allocations: 107.3 kB / 480.8 MB, free: 6.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3242, allocations: 0 / 480.8 MB, free: 6.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002338/0.3265, allocations: 0.9586 MB / 481.8 MB, free: 5.207 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.003828/0.3304, allocations: 1.332 MB / 483.1 MB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.3306, allocations: 47.91 kB / 483.1 MB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3306, allocations: 0 / 483.1 MB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.964e-05/0.3306, allocations: 19.98 kB / 483.2 MB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.3309, allocations: 24.05 kB / 483.2 MB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/0.3313, allocations: 193.2 kB / 483.4 MB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3316, allocations: 0.6807 MB / 484 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.781e-05/0.3317, allocations: 23.91 kB / 484.1 MB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.3317, allocations: 15.44 kB / 484.1 MB, free: 2.805 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3317, allocations: 0 / 484.1 MB, free: 2.805 MB / 382.1 MB Notification: Performance of Templates: time 0.04016/0.3719, allocations: 27.29 MB / 0.4994 GB, free: 7.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.585000690072775]