Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.000966/0.000966, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.0009641/0.0009641, allocations: 150.1 kB / 24.81 MB, free: 9.285 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.9309/0.9309, allocations: 173.3 MB / 201.4 MB, free: 9.199 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.661e-05, allocations: 6.25 kB / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002248/0.002265, allocations: 1.401 MB / 269.8 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2031/0.2054, allocations: 139.3 MB / 409.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.2054, allocations: 0 / 409.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.2054, allocations: 3.938 kB / 409.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.2065, allocations: 381.8 kB / 409.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009595/0.2074, allocations: 0.5329 MB / 410 MB, free: 11.44 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.881e-05/0.2075, allocations: 75.66 kB / 410.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.203e-05/0.2076, allocations: 7.984 kB / 410.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.722e-05/0.2076, allocations: 43.83 kB / 410.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.2077, allocations: 35.89 kB / 410.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.2077, allocations: 4 kB / 410.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.209, allocations: 0.9307 MB / 411.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.209, allocations: 11.98 kB / 411.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.2091, allocations: 23.92 kB / 411.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008945/0.21, allocations: 0.748 MB / 411.9 MB, free: 9.555 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.21, allocations: 0 / 411.9 MB, free: 9.555 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.21, allocations: 0 / 411.9 MB, free: 9.555 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.21, allocations: 0 / 411.9 MB, free: 9.555 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.0004586/0.2104, allocations: 491.8 kB / 412.4 MB, free: 9.039 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2105, allocations: 12.92 kB / 412.4 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003608/0.2108, allocations: 72.8 kB / 412.5 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.565e-05/0.2109, allocations: 128.5 kB / 412.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2109, allocations: 8.297 kB / 412.6 MB, free: 8.797 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.211, allocations: 8.562 kB / 412.6 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.827e-05/0.2111, allocations: 73.7 kB / 412.7 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2111, allocations: 0 / 412.7 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-06/0.2111, allocations: 0 / 412.7 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.2111, allocations: 4 kB / 412.7 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.857e-05/0.2111, allocations: 19.92 kB / 412.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.2112, allocations: 121 kB / 412.8 MB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.2114, allocations: 78.2 kB / 412.9 MB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.2114, allocations: 23.44 kB / 412.9 MB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.2116, allocations: 63.66 kB / 413 MB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.2116, allocations: 37.39 kB / 413 MB, free: 8.289 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.2116, allocations: 3.938 kB / 413 MB, free: 8.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001751/0.2118, allocations: 77.44 kB / 413.1 MB, free: 8.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.2118, allocations: 81.11 kB / 413.2 MB, free: 8.105 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.2119, allocations: 186.9 kB / 413.4 MB, free: 7.906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.2119, allocations: 25.7 kB / 413.4 MB, free: 7.875 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.212, allocations: 138.9 kB / 413.5 MB, free: 7.734 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.212, allocations: 19.78 kB / 413.6 MB, free: 7.715 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.2121, allocations: 31.38 kB / 413.6 MB, free: 7.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2122, allocations: 0.4923 MB / 414.1 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.2122, allocations: 4 kB / 414.1 MB, free: 7.168 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.496e-05/0.2122, allocations: 42.72 kB / 414.1 MB, free: 7.109 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.741e-05/0.2123, allocations: 58.67 kB / 414.2 MB, free: 7.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2123, allocations: 0 / 414.2 MB, free: 7.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001266/0.2124, allocations: 78.33 kB / 414.3 MB, free: 6.953 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2124, allocations: 12.69 kB / 414.3 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2124, allocations: 0 / 414.3 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2124, allocations: 3.938 kB / 414.3 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.651e-05/0.2125, allocations: 15.98 kB / 414.3 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2125, allocations: 4 kB / 414.3 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.2125, allocations: 7.891 kB / 414.3 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.2125, allocations: 4 kB / 414.3 MB, free: 6.906 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 6.411e-05/0.2126, allocations: 164.5 kB / 414.5 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.2126, allocations: 11.3 kB / 414.5 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.2127, allocations: 77.02 kB / 414.6 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.2128, allocations: 8.5 kB / 414.6 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2128, allocations: 0 / 414.6 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2128, allocations: 3.984 kB / 414.6 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.67e-05/0.2128, allocations: 113.2 kB / 414.7 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2128, allocations: 0 / 414.7 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.2129, allocations: 19.92 kB / 414.7 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.2129, allocations: 0 / 414.7 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.2129, allocations: 0 / 414.7 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.2129, allocations: 0 / 414.7 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.2129, allocations: 11.92 kB / 414.7 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.2131, allocations: 124 kB / 414.8 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.2131, allocations: 15.94 kB / 414.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.2131, allocations: 0 / 414.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.317e-05/0.2131, allocations: 4 kB / 414.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.2131, allocations: 15.86 kB / 414.9 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.2131, allocations: 4 kB / 414.9 MB, free: 6.277 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.626e-05/0.2132, allocations: 135.2 kB / 415 MB, free: 6.145 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2132, allocations: 0 / 415 MB, free: 6.145 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003907/0.2136, allocations: 163.4 kB / 415.2 MB, free: 5.984 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 (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.0007713/0.2144, allocations: 457.3 kB / 415.6 MB, free: 5.547 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.626e-05/0.2144, allocations: 43.58 kB / 415.6 MB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.2144, allocations: 0 / 415.6 MB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.682e-05/0.2145, allocations: 27.61 kB / 415.7 MB, free: 5.469 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.2147, allocations: 33.38 kB / 415.7 MB, free: 5.441 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.2152, allocations: 258.3 kB / 416 MB, free: 5.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.365e-05/0.2153, allocations: 67.34 kB / 416 MB, free: 5.074 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.434e-05/0.2153, allocations: 10.52 kB / 416 MB, free: 5.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.2154, allocations: 94.17 kB / 416.1 MB, free: 4.973 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2154, allocations: 0 / 416.1 MB, free: 4.973 MB / 362.7 MB Notification: Performance of Templates: time 0.00846/0.2239, allocations: 6.335 MB / 422.5 MB, free: 14.68 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.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.96577787399292]