Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001585/0.001585, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 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.001805/0.001805, allocations: 172.1 kB / 25.7 MB, free: 8.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8359/0.8359, allocations: 158.6 MB / 187.6 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.299e-05, allocations: 6.25 kB / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001437/0.00145, allocations: 1.374 MB / 252.9 MB, free: 5.891 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2468/0.2483, allocations: 142.7 MB / 395.6 MB, free: 9.309 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.502e-05/0.2483, allocations: 4 kB / 395.6 MB, free: 9.305 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.2483, allocations: 6.516 kB / 395.6 MB, free: 9.301 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006895/0.249, allocations: 247.4 kB / 395.8 MB, free: 9.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009377/0.2499, allocations: 0.6412 MB / 396.5 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 6.828e-05/0.25, allocations: 66.94 kB / 396.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.757e-05/0.25, allocations: 2.969 kB / 396.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.461e-05/0.2501, allocations: 28.89 kB / 396.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.041e-05/0.2501, allocations: 29.16 kB / 396.6 MB, free: 9.184 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.2502, allocations: 2.375 kB / 396.6 MB, free: 9.184 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007438/0.2509, allocations: 0.7596 MB / 397.3 MB, free: 9.145 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.2509, allocations: 13.64 kB / 397.4 MB, free: 9.145 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.2509, allocations: 19 kB / 397.4 MB, free: 9.145 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005544/0.2515, allocations: 0.6718 MB / 398 MB, free: 9.098 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2515, allocations: 4 kB / 398 MB, free: 9.094 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2515, allocations: 2.906 kB / 398 MB, free: 9.094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.2515, allocations: 0 / 398 MB, free: 9.094 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.0002839/0.2518, allocations: 355.4 kB / 398.4 MB, free: 8.797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.722e-05/0.2518, allocations: 15.23 kB / 398.4 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004969/0.2523, allocations: 114.4 kB / 398.5 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.2525, allocations: 199 kB / 398.7 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.2525, allocations: 11.38 kB / 398.7 MB, free: 8.602 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.2525, allocations: 7.766 kB / 398.7 MB, free: 8.598 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/0.2526, allocations: 90.31 kB / 398.8 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-06/0.2526, allocations: 3.938 kB / 398.8 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.2526, allocations: 5.062 kB / 398.8 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2526, allocations: 0 / 398.8 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.2526, allocations: 39.19 kB / 398.9 MB, free: 8.504 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.601e-05/0.2527, allocations: 72.61 kB / 398.9 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.2529, allocations: 105.2 kB / 399 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.2529, allocations: 39.34 kB / 399.1 MB, free: 8.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.2531, allocations: 91.67 kB / 399.2 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.2531, allocations: 33.69 kB / 399.2 MB, free: 8.266 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.2531, allocations: 0 / 399.2 MB, free: 8.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001346/0.2532, allocations: 95.41 kB / 399.3 MB, free: 8.207 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.2532, allocations: 80.02 kB / 399.4 MB, free: 8.113 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.82e-05/0.2533, allocations: 155.4 kB / 399.5 MB, free: 7.996 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.086e-06/0.2533, allocations: 29.64 kB / 399.6 MB, free: 7.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.565e-06/0.2533, allocations: 80.14 kB / 399.6 MB, free: 7.879 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.2533, allocations: 32.48 kB / 399.7 MB, free: 7.855 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.2534, allocations: 29.56 kB / 399.7 MB, free: 7.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.202e-05/0.2534, allocations: 317 kB / 400 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.2534, allocations: 16.31 kB / 400 MB, free: 7.516 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.2534, allocations: 47.84 kB / 400.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.852e-05/0.2535, allocations: 66.39 kB / 400.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.2535, allocations: 6.953 kB / 400.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.596e-05/0.2536, allocations: 85.52 kB / 400.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/0.2536, allocations: 5.781 kB / 400.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2536, allocations: 2.219 kB / 400.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.2536, allocations: 3.938 kB / 400.2 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.2537, allocations: 29.53 kB / 400.3 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.2537, allocations: 0 / 400.3 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/0.2537, allocations: 10.09 kB / 400.3 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.2537, allocations: 7.391 kB / 400.3 MB, free: 7.348 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 3.465e-05/0.2538, allocations: 112 kB / 400.4 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.2538, allocations: 5.688 kB / 400.4 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.254, allocations: 180.8 kB / 400.6 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.254, allocations: 3.938 kB / 400.6 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.254, allocations: 6.734 kB / 400.6 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.254, allocations: 0 / 400.6 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.163e-05/0.2541, allocations: 84.7 kB / 400.7 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2541, allocations: 0 / 400.7 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.087e-05/0.2541, allocations: 22.27 kB / 400.7 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2541, allocations: 9.078 kB / 400.7 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2541, allocations: 6.703 kB / 400.7 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2541, allocations: 0 / 400.7 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2541, allocations: 0 / 400.7 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.2543, allocations: 133.6 kB / 400.8 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.2543, allocations: 45.58 kB / 400.9 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.2543, allocations: 0 / 400.9 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.446e-05/0.2544, allocations: 6.328 kB / 400.9 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.2544, allocations: 15.62 kB / 400.9 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.2544, allocations: 6.938 kB / 400.9 MB, free: 6.895 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.604e-05/0.2545, allocations: 55.62 kB / 401 MB, free: 6.875 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2545, allocations: 0 / 401 MB, free: 6.875 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002704/0.2547, allocations: 169.6 kB / 401.1 MB, free: 6.84 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.0004918/0.2552, allocations: 420.2 kB / 401.5 MB, free: 6.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.679e-05/0.2553, allocations: 60.7 kB / 401.6 MB, free: 6.637 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2553, allocations: 2.312 kB / 401.6 MB, free: 6.637 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.659e-05/0.2554, allocations: 29.27 kB / 401.6 MB, free: 6.625 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/0.2555, allocations: 27.5 kB / 401.7 MB, free: 6.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.2559, allocations: 254.1 kB / 401.9 MB, free: 6.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.909e-05/0.2559, allocations: 60.08 kB / 402 MB, free: 6.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002908/0.2562, allocations: 434.9 kB / 402.4 MB, free: 6.141 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.2563, allocations: 93.14 kB / 402.5 MB, free: 6.078 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2563, allocations: 0 / 402.5 MB, free: 6.078 MB / 330.7 MB Notification: Performance of Templates: time 0.009864/0.2662, allocations: 8.57 MB / 411 MB, free: 1.441 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.95130594400689]