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.001922/0.001922, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002317/0.002317, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.476/1.476, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.00203/0.00203, allocations: 63.84 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2541, allocations: 53.31 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002471/0.2566, allocations: 1.39 MB / 433.4 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01432/0.2709, allocations: 12.2 MB / 445.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.271, allocations: 0 / 445.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.271, allocations: 0 / 445.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003866/0.2749, allocations: 1.047 MB / 446.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.2771, allocations: 0.6411 MB / 447.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.2772, allocations: 55.78 kB / 447.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.2773, allocations: 4 kB / 447.4 MB, free: 8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.2773, allocations: 31.84 kB / 447.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.2775, allocations: 35.89 kB / 447.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.2775, allocations: 4 kB / 447.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003349/0.2808, allocations: 1.631 MB / 449.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.2808, allocations: 11.94 kB / 449.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.2809, allocations: 27.91 kB / 449.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.2829, allocations: 1.072 MB / 450.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.283, allocations: 4 kB / 450.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.283, allocations: 0 / 450.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.283, allocations: 0 / 450.2 MB, free: 5.18 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.000801/0.2838, allocations: 0.556 MB / 450.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2838, allocations: 8.031 kB / 450.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.2839, allocations: 8.891 kB / 450.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.2841, allocations: 184.3 kB / 450.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.2841, allocations: 384 / 450.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.2841, allocations: 4.375 kB / 450.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.2843, allocations: 71.52 kB / 451 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2843, allocations: 0 / 451 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.2843, allocations: 3.938 kB / 451 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2843, allocations: 0 / 451 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.2845, allocations: 31.91 kB / 451 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.2847, allocations: 174.6 kB / 451.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.285, allocations: 77.12 kB / 451.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.285, allocations: 25.78 kB / 451.3 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006855/0.2919, allocations: 3.305 MB / 454.6 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.2919, allocations: 34.5 kB / 454.7 MB, free: 80 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.2919, allocations: 0 / 454.7 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003511/0.2923, allocations: 85.97 kB / 454.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.2924, allocations: 81.11 kB / 454.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.2925, allocations: 113.8 kB / 454.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.2925, allocations: 25.7 kB / 455 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.2925, allocations: 84.14 kB / 455 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.2926, allocations: 19.84 kB / 455.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.2926, allocations: 17.72 kB / 455.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2927, allocations: 326.8 kB / 455.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-05/0.2928, allocations: 8 kB / 455.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.518e-05/0.2929, allocations: 29.64 kB / 455.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.293, allocations: 45.69 kB / 455.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.293, allocations: 3.938 kB / 455.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001819/0.2932, allocations: 73.5 kB / 455.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2932, allocations: 7.125 kB / 455.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2932, allocations: 4 kB / 455.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2932, allocations: 4 kB / 455.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.478e-05/0.2933, allocations: 11.98 kB / 455.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2933, allocations: 0 / 455.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.2933, allocations: 7.875 kB / 455.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.2934, allocations: 8 kB / 455.6 MB, free: 15.07 MB / 366.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.934e-05/0.2934, allocations: 109.8 kB / 455.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.2935, allocations: 11.89 kB / 455.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.2937, allocations: 105.4 kB / 455.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2937, allocations: 0 / 455.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2937, allocations: 4 kB / 455.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2938, allocations: 0 / 455.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.2939, allocations: 169.6 kB / 456 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2939, allocations: 0 / 456 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.294, allocations: 23.92 kB / 456 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.294, allocations: 0 / 456 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.294, allocations: 0 / 456 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.294, allocations: 0 / 456 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.294, allocations: 4 kB / 456 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.2942, allocations: 101.9 kB / 456.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.112e-05/0.2943, allocations: 89.03 kB / 456.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.2943, allocations: 4 kB / 456.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.2944, allocations: 8.188 kB / 456.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.2944, allocations: 7.984 kB / 456.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.2944, allocations: 4 kB / 456.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.992e-05/0.2945, allocations: 99.56 kB / 456.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2945, allocations: 0 / 456.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008434/0.2953, allocations: 326.8 kB / 456.6 MB, free: 13.91 MB / 366.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.001276/0.2966, allocations: 0.5798 MB / 457.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.2968, allocations: 39.91 kB / 457.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2968, allocations: 0 / 457.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/0.2969, allocations: 19.92 kB / 457.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.2971, allocations: 15.94 kB / 457.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.2975, allocations: 172.4 kB / 457.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.2978, allocations: 0.6807 MB / 458.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.2979, allocations: 52.09 kB / 458.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.298, allocations: 19.42 kB / 458.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.298, allocations: 3.938 kB / 458.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of Templates: time 0.01582/0.3138, allocations: 9.002 MB / 467.2 MB, free: 3.258 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 -s cvode -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_2/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_2/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: 6.587065241765231]