Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000983/0.000983, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.00238, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002365, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9592/0.9592, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09379/1.053, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.435e-05, allocations: 6.25 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002202/0.002226, allocations: 1.445 MB / 246 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2373/0.2395, allocations: 144.4 MB / 390.4 MB, free: 6.941 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/0.2395, allocations: 0 / 390.4 MB, free: 6.941 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.2396, allocations: 3.984 kB / 390.4 MB, free: 6.938 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009537/0.2405, allocations: 237.3 kB / 390.6 MB, free: 6.715 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007304/0.2412, allocations: 393.8 kB / 391 MB, free: 6.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 8.743e-05/0.2413, allocations: 55.67 kB / 391 MB, free: 6.285 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.161e-05/0.2414, allocations: 3.984 kB / 391 MB, free: 6.281 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.107e-05/0.2414, allocations: 39.91 kB / 391.1 MB, free: 6.242 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.2415, allocations: 27.91 kB / 391.1 MB, free: 6.215 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.2415, allocations: 4 kB / 391.1 MB, free: 6.211 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008175/0.2423, allocations: 0.6054 MB / 391.7 MB, free: 5.605 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.2423, allocations: 7.938 kB / 391.7 MB, free: 5.598 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.2424, allocations: 12 kB / 391.7 MB, free: 5.586 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.2429, allocations: 462.9 kB / 392.2 MB, free: 5.133 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-05/0.2429, allocations: 0 / 392.2 MB, free: 5.133 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2429, allocations: 0 / 392.2 MB, free: 5.133 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.2429, allocations: 0 / 392.2 MB, free: 5.133 MB / 362.7 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.0004359/0.2434, allocations: 388.4 kB / 392.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.2434, allocations: 12.03 kB / 392.6 MB, free: 4.719 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006423/0.2441, allocations: 210.2 kB / 392.8 MB, free: 4.496 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.2443, allocations: 202.4 kB / 393 MB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.2443, allocations: 0.5625 kB / 393 MB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.2443, allocations: 11.94 kB / 393 MB, free: 4.258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.2444, allocations: 91.25 kB / 393.1 MB, free: 4.156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.2444, allocations: 3.984 kB / 393.1 MB, free: 4.152 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.2444, allocations: 4 kB / 393.1 MB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2445, allocations: 0 / 393.1 MB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.735e-05/0.2445, allocations: 35.95 kB / 393.1 MB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/0.2446, allocations: 81.78 kB / 393.2 MB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.2448, allocations: 105.1 kB / 393.3 MB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.2449, allocations: 33.69 kB / 393.3 MB, free: 3.855 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.245, allocations: 94.2 kB / 393.4 MB, free: 3.766 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.245, allocations: 34.56 kB / 393.5 MB, free: 3.723 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.245, allocations: 0 / 393.5 MB, free: 3.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001672/0.2452, allocations: 97.5 kB / 393.6 MB, free: 3.621 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.2452, allocations: 81.05 kB / 393.6 MB, free: 3.523 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/0.2453, allocations: 154.7 kB / 393.8 MB, free: 3.359 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.2453, allocations: 25.7 kB / 393.8 MB, free: 3.328 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.3e-05/0.2454, allocations: 84.12 kB / 393.9 MB, free: 3.242 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.2454, allocations: 23.84 kB / 393.9 MB, free: 3.219 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.2454, allocations: 33.67 kB / 394 MB, free: 3.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.2455, allocations: 314.8 kB / 394.3 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.709e-05/0.2455, allocations: 15.98 kB / 394.3 MB, free: 2.848 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.888e-05/0.2456, allocations: 52.09 kB / 394.3 MB, free: 2.785 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.845e-05/0.2456, allocations: 63.33 kB / 394.4 MB, free: 2.711 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2456, allocations: 1.25 kB / 394.4 MB, free: 2.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001008/0.2457, allocations: 93.88 kB / 394.5 MB, free: 2.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2457, allocations: 5.719 kB / 394.5 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2457, allocations: 12.03 kB / 394.5 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.2458, allocations: 7.984 kB / 394.5 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-05/0.2458, allocations: 35.95 kB / 394.5 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.2459, allocations: 1.016 kB / 394.5 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.136e-05/0.2459, allocations: 11.92 kB / 394.6 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.2459, allocations: 4 kB / 394.6 MB, free: 2.539 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 5.192e-05/0.246, allocations: 109.8 kB / 394.7 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.246, allocations: 7.984 kB / 394.7 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.2462, allocations: 183.6 kB / 394.9 MB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2462, allocations: 0 / 394.9 MB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.2462, allocations: 4 kB / 394.9 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2462, allocations: 0 / 394.9 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.577e-05/0.2463, allocations: 92.72 kB / 394.9 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2463, allocations: 1.25 kB / 394.9 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/0.2464, allocations: 23.97 kB / 395 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.2464, allocations: 43.81 kB / 395 MB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.2464, allocations: 4 kB / 395 MB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.2465, allocations: 11.98 kB / 395 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2465, allocations: 3.938 kB / 395 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2465, allocations: 0 / 395 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.2466, allocations: 123.5 kB / 395.2 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.2466, allocations: 4 kB / 395.2 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.487e-05/0.2467, allocations: 9.984 kB / 395.2 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.2467, allocations: 11.92 kB / 395.2 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.2467, allocations: 0 / 395.2 MB, free: 1.867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.116e-05/0.2468, allocations: 62.98 kB / 395.2 MB, free: 1.805 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2468, allocations: 32 / 395.2 MB, free: 1.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003065/0.2471, allocations: 143.5 kB / 395.4 MB, free: 1.664 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004139/0.2475, allocations: 328.5 kB / 395.7 MB, free: 1.336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.2476, allocations: 58.62 kB / 395.8 MB, free: 1.277 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.2476, allocations: 12 kB / 395.8 MB, free: 1.266 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.2476, allocations: 24.84 kB / 395.8 MB, free: 1.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.2478, allocations: 46.52 kB / 395.8 MB, free: 1.195 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.2491, allocations: 228.4 kB / 396.1 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.928e-05/0.2491, allocations: 59.34 kB / 396.1 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003227/0.2494, allocations: 431.8 kB / 396.5 MB, free: 468 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.2496, allocations: 95.31 kB / 396.6 MB, free: 372 kB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2496, allocations: 0 / 396.6 MB, free: 372 kB / 362.7 MB Notification: Performance of Templates: time 0.008072/0.2576, allocations: 7.633 MB / 404.3 MB, free: 8.789 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.814971092157066]