Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 80.62 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 147.7 kB / 25.6 MB, free: 8.609 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9155/0.9155, allocations: 173.4 MB / 202.2 MB, free: 8.32 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 269.2 MB, free: 9.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.458e-05, allocations: 2.312 kB / 269.2 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002399/0.002424, allocations: 1.381 MB / 270.6 MB, free: 8.422 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2321/0.2345, allocations: 139 MB / 409.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.2345, allocations: 4 kB / 409.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.2346, allocations: 7.922 kB / 409.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.2356, allocations: 240.6 kB / 409.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.2368, allocations: 412.3 kB / 410.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.2369, allocations: 67.58 kB / 410.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.2369, allocations: 4 kB / 410.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.523e-05/0.237, allocations: 31.95 kB / 410.3 MB, free: 11.15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.498e-05/0.2371, allocations: 19.92 kB / 410.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.2371, allocations: 0 / 410.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.2383, allocations: 0.5689 MB / 410.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.2383, allocations: 15.91 kB / 410.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.2383, allocations: 16 kB / 410.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.2394, allocations: 0.526 MB / 411.4 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2394, allocations: 0 / 411.4 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2394, allocations: 0 / 411.4 MB, free: 10 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.2394, allocations: 0 / 411.4 MB, free: 10 MB / 330.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.0005515/0.2399, allocations: 456.2 kB / 411.9 MB, free: 9.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.24, allocations: 12.03 kB / 411.9 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009389/0.2409, allocations: 100.8 kB / 412 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.2413, allocations: 221.1 kB / 412.2 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.2413, allocations: 5.25 kB / 412.2 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.2413, allocations: 7.938 kB / 412.2 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.2415, allocations: 96.91 kB / 412.3 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2415, allocations: 3.984 kB / 412.3 MB, free: 9.039 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.2416, allocations: 4 kB / 412.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.2416, allocations: 7 kB / 412.3 MB, free: 9.031 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.497e-05/0.2416, allocations: 31.95 kB / 412.4 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.2419, allocations: 149.2 kB / 412.5 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/0.2424, allocations: 138.1 kB / 412.7 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.2425, allocations: 39.34 kB / 412.7 MB, free: 8.617 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.2426, allocations: 96.52 kB / 412.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.2427, allocations: 37.39 kB / 412.8 MB, free: 8.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.2427, allocations: 0 / 412.8 MB, free: 8.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002247/0.2429, allocations: 125.4 kB / 412.9 MB, free: 8.348 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.2429, allocations: 77.11 kB / 413 MB, free: 8.254 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.2431, allocations: 219.6 kB / 413.2 MB, free: 8.023 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.2431, allocations: 29.7 kB / 413.3 MB, free: 7.988 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.2431, allocations: 130.9 kB / 413.4 MB, free: 7.855 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.2431, allocations: 31.77 kB / 413.4 MB, free: 7.824 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.2432, allocations: 35.34 kB / 413.5 MB, free: 7.781 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2433, allocations: 496.1 kB / 413.9 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.419e-05/0.2433, allocations: 23.97 kB / 414 MB, free: 7.262 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-05/0.2434, allocations: 54.72 kB / 414 MB, free: 7.191 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.87e-05/0.2435, allocations: 86.64 kB / 414.1 MB, free: 7.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2435, allocations: 4 kB / 414.1 MB, free: 7.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001613/0.2436, allocations: 113.5 kB / 414.2 MB, free: 6.969 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2436, allocations: 11.92 kB / 414.2 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2436, allocations: 4 kB / 414.2 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.2437, allocations: 0 / 414.2 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/0.2437, allocations: 23.97 kB / 414.3 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.2437, allocations: 0 / 414.3 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.352e-05/0.2438, allocations: 11.94 kB / 414.3 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.2438, allocations: 7.984 kB / 414.3 MB, free: 6.91 MB / 330.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 6.785e-05/0.2439, allocations: 164.6 kB / 414.4 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.2439, allocations: 7.953 kB / 414.4 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.2442, allocations: 171.8 kB / 414.6 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2442, allocations: 3.984 kB / 414.6 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.2442, allocations: 4 kB / 414.6 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2442, allocations: 48 / 414.6 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.2443, allocations: 134.7 kB / 414.8 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2443, allocations: 1.562 kB / 414.8 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-05/0.2444, allocations: 19.98 kB / 414.8 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2444, allocations: 3.984 kB / 414.8 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2444, allocations: 3.938 kB / 414.8 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2444, allocations: 4 kB / 414.8 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2444, allocations: 3.938 kB / 414.8 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.2446, allocations: 144 kB / 414.9 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.2446, allocations: 55.75 kB / 415 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.2446, allocations: 3.984 kB / 415 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.2447, allocations: 8.031 kB / 415 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.2447, allocations: 11.92 kB / 415 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.2447, allocations: 4.75 kB / 415 MB, free: 6.109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.507e-05/0.2448, allocations: 184 kB / 415.2 MB, free: 5.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2448, allocations: 0 / 415.2 MB, free: 5.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003565/0.2452, allocations: 131.6 kB / 415.3 MB, free: 5.801 MB / 330.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.000529/0.2457, allocations: 342.4 kB / 415.7 MB, free: 5.477 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.2458, allocations: 67.56 kB / 415.7 MB, free: 5.406 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2459, allocations: 0 / 415.7 MB, free: 5.406 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.097e-05/0.2459, allocations: 35.61 kB / 415.8 MB, free: 5.367 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.2461, allocations: 31.95 kB / 415.8 MB, free: 5.336 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.2466, allocations: 266.4 kB / 416 MB, free: 5.051 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.124e-05/0.2466, allocations: 63.97 kB / 416.1 MB, free: 4.969 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003541/0.247, allocations: 439.7 kB / 416.5 MB, free: 4.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.2471, allocations: 110.1 kB / 416.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2471, allocations: 0 / 416.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of Templates: time 0.008109/0.2552, allocations: 7.421 MB / 424.1 MB, free: 13.07 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.959615116007626]