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_T.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.007964/0.007964, allocations: 104.2 kB / 21.98 MB, free: 5.773 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.002043/0.002043, allocations: 210.3 kB / 25.29 MB, free: 3.352 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.497/1.497, allocations: 230.6 MB / 259 MB, free: 8.023 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_T,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_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,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_T") [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.002052/0.002052, allocations: 55.91 kB / 379.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3073, allocations: 53.37 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002759/0.3101, allocations: 1.385 MB / 434.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01549/0.3256, allocations: 12.21 MB / 446.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.3256, allocations: 0 / 446.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.3257, allocations: 4 kB / 446.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003967/0.3296, allocations: 1.054 MB / 447.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.3319, allocations: 0.6447 MB / 448.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.3321, allocations: 59.77 kB / 448.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.3321, allocations: 4 kB / 448.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.209e-05/0.3322, allocations: 31.86 kB / 448.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.3323, allocations: 31.89 kB / 448.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.3323, allocations: 4 kB / 448.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004101/0.3364, allocations: 1.647 MB / 450.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.3364, allocations: 15.92 kB / 450.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.3365, allocations: 19.92 kB / 450.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.3392, allocations: 1.08 MB / 451.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3392, allocations: 4 kB / 451.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3392, allocations: 0 / 451.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.3392, allocations: 0 / 451.4 MB, free: 4.699 MB / 350.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.0009215/0.3401, allocations: 492.2 kB / 451.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3402, allocations: 8.031 kB / 451.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.3403, allocations: 12.88 kB / 451.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.3405, allocations: 118.5 kB / 452 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3405, allocations: 384 / 452 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.3405, allocations: 4.375 kB / 452 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3407, allocations: 75.52 kB / 452 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3407, allocations: 3.938 kB / 452.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3407, allocations: 0 / 452.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.3407, allocations: 4 kB / 452.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.3409, allocations: 23.92 kB / 452.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.3411, allocations: 153.6 kB / 452.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.3414, allocations: 77.12 kB / 452.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.742e-05/0.3415, allocations: 25.77 kB / 452.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005801/0.3473, allocations: 1.502 MB / 453.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.3474, allocations: 38.5 kB / 453.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.3474, allocations: 0 / 453.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.00037/0.3478, allocations: 81.92 kB / 453.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.3478, allocations: 77.11 kB / 454 MB, free: 1.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.3479, allocations: 117.8 kB / 454.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.348, allocations: 33.69 kB / 454.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.348, allocations: 84.14 kB / 454.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.3481, allocations: 15.86 kB / 454.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.3481, allocations: 21.7 kB / 454.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3483, allocations: 314.8 kB / 454.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.705e-05/0.3483, allocations: 11.98 kB / 454.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.3484, allocations: 29.66 kB / 454.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.3485, allocations: 37.7 kB / 454.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3485, allocations: 0 / 454.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001749/0.3487, allocations: 77.44 kB / 454.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3487, allocations: 8 kB / 454.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3487, allocations: 320 / 454.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3487, allocations: 0 / 454.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.3488, allocations: 15.98 kB / 454.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3488, allocations: 7.938 kB / 454.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.3489, allocations: 7.938 kB / 454.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.3489, allocations: 7.984 kB / 454.8 MB, free: 1.027 MB / 350.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.95e-05/0.349, allocations: 105.8 kB / 454.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.349, allocations: 15.88 kB / 454.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.3493, allocations: 109.5 kB / 455 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3493, allocations: 0 / 455 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3493, allocations: 0 / 455 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3493, allocations: 0 / 455 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.3495, allocations: 140.7 kB / 455.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3495, allocations: 0 / 455.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.02e-05/0.3496, allocations: 11.94 kB / 455.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.3496, allocations: 4 kB / 455.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.3496, allocations: 128 / 455.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.3496, allocations: 11.98 kB / 455.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3496, allocations: 0 / 455.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.3498, allocations: 101.9 kB / 455.3 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.3499, allocations: 12.16 kB / 455.3 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3499, allocations: 4 kB / 455.3 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.35, allocations: 7.984 kB / 455.3 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.35, allocations: 11.97 kB / 455.3 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.35, allocations: 4 kB / 455.3 MB, free: 428 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.456e-05/0.3501, allocations: 91.28 kB / 455.4 MB, free: 336 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3501, allocations: 0 / 455.4 MB, free: 336 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009357/0.351, allocations: 330.8 kB / 455.7 MB, free: 4 kB / 350.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.001233/0.3523, allocations: 0.5757 MB / 456.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.3525, allocations: 32.02 kB / 456.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.3525, allocations: 4 kB / 456.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.3526, allocations: 24 kB / 456.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.3528, allocations: 23.92 kB / 456.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.3533, allocations: 182.1 kB / 456.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3536, allocations: 0.6807 MB / 457.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.3537, allocations: 27.36 kB / 457.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3537, allocations: 0 / 457.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of Templates: time 0.01083/0.3645, allocations: 5.941 MB / 463.2 MB, free: 8.438 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.500130692962557]