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.001312/0.001312, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009733/0.0009733, allocations: 139.9 kB / 24.97 MB, free: 9.297 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.9242/0.9242, allocations: 173.4 MB / 201.5 MB, free: 9.352 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.523e-06/1.523e-06, allocations: 0 / 268.1 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.507e-05, allocations: 6.25 kB / 268.1 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001503/0.001518, allocations: 1.397 MB / 269.5 MB, free: 5.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2089/0.2104, allocations: 141.8 MB / 411.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.2105, allocations: 4 kB / 411.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.2105, allocations: 3.938 kB / 411.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009517/0.2115, allocations: 376.8 kB / 411.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007995/0.2123, allocations: 0.533 MB / 412.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.2124, allocations: 71.64 kB / 412.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.2124, allocations: 7.938 kB / 412.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.2127, allocations: 51.81 kB / 412.3 MB, free: 9.594 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.2128, allocations: 23.95 kB / 412.3 MB, free: 9.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.2128, allocations: 4 kB / 412.3 MB, free: 9.566 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.2139, allocations: 0.9307 MB / 413.2 MB, free: 8.633 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.2139, allocations: 11.94 kB / 413.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.2139, allocations: 27.97 kB / 413.3 MB, free: 8.594 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007502/0.2147, allocations: 0.748 MB / 414 MB, free: 7.844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2147, allocations: 0 / 414 MB, free: 7.844 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2147, allocations: 0 / 414 MB, free: 7.844 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.2147, allocations: 0 / 414 MB, free: 7.844 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.0004787/0.2152, allocations: 487.8 kB / 414.5 MB, free: 7.332 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.2152, allocations: 8.922 kB / 414.5 MB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003448/0.2155, allocations: 76.8 kB / 414.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2157, allocations: 132.4 kB / 414.7 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2157, allocations: 8.375 kB / 414.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.2157, allocations: 0.5625 kB / 414.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.2158, allocations: 85.69 kB / 414.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.2158, allocations: 4 kB / 414.8 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.2158, allocations: 3.938 kB / 414.8 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2158, allocations: 0 / 414.8 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.2159, allocations: 15.92 kB / 414.8 MB, free: 6.961 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.216, allocations: 136.4 kB / 415 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.2162, allocations: 90.16 kB / 415.1 MB, free: 6.676 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.796e-05/0.2162, allocations: 23.38 kB / 415.1 MB, free: 6.645 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.2164, allocations: 55.92 kB / 415.1 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.2164, allocations: 41.39 kB / 415.2 MB, free: 6.539 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.2164, allocations: 0 / 415.2 MB, free: 6.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001904/0.2166, allocations: 81.44 kB / 415.3 MB, free: 6.453 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.2167, allocations: 77.11 kB / 415.3 MB, free: 6.359 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.2167, allocations: 189.9 kB / 415.5 MB, free: 6.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.2168, allocations: 29.7 kB / 415.5 MB, free: 6.121 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.2168, allocations: 134.9 kB / 415.7 MB, free: 5.984 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.2168, allocations: 23.78 kB / 415.7 MB, free: 5.961 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.2169, allocations: 27.38 kB / 415.7 MB, free: 5.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.217, allocations: 0.4884 MB / 416.2 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.217, allocations: 8 kB / 416.2 MB, free: 5.418 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.374e-05/0.217, allocations: 46.73 kB / 416.3 MB, free: 5.355 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.817e-05/0.2171, allocations: 58.69 kB / 416.3 MB, free: 5.281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2171, allocations: 4 kB / 416.3 MB, free: 5.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001181/0.2172, allocations: 81.5 kB / 416.4 MB, free: 5.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2172, allocations: 11.94 kB / 416.4 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2172, allocations: 0 / 416.4 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2172, allocations: 0 / 416.4 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.226e-05/0.2173, allocations: 15.98 kB / 416.4 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2173, allocations: 4 kB / 416.4 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.2173, allocations: 7.891 kB / 416.5 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.2173, allocations: 4 kB / 416.5 MB, free: 5.148 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.921e-05/0.2174, allocations: 168.6 kB / 416.6 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.2174, allocations: 11.36 kB / 416.6 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.2175, allocations: 83.64 kB / 416.7 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2175, allocations: 4.562 kB / 416.7 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2175, allocations: 3.938 kB / 416.7 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2175, allocations: 7.922 kB / 416.7 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.008e-05/0.2176, allocations: 132.5 kB / 416.9 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2176, allocations: 0 / 416.9 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.2176, allocations: 8 kB / 416.9 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2176, allocations: 4 kB / 416.9 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2177, allocations: 8 kB / 416.9 MB, free: 4.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2177, allocations: 3.938 kB / 416.9 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2177, allocations: 3.984 kB / 416.9 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.2178, allocations: 116.1 kB / 417 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.2178, allocations: 19.88 kB / 417 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.2178, allocations: 4 kB / 417 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.2179, allocations: 3.938 kB / 417 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.2179, allocations: 7.984 kB / 417 MB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.2179, allocations: 0 / 417 MB, free: 4.492 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.701e-05/0.2179, allocations: 143.7 kB / 417.2 MB, free: 4.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2179, allocations: 4.031 kB / 417.2 MB, free: 4.348 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003178/0.2183, allocations: 171.4 kB / 417.3 MB, free: 4.18 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.0006932/0.219, allocations: 448.9 kB / 417.8 MB, free: 3.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.847e-05/0.2191, allocations: 47.58 kB / 417.8 MB, free: 3.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2191, allocations: 0 / 417.8 MB, free: 3.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.7e-05/0.2191, allocations: 19.62 kB / 417.8 MB, free: 3.676 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.2193, allocations: 37.45 kB / 417.9 MB, free: 3.645 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/0.2198, allocations: 254.7 kB / 418.1 MB, free: 3.363 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3e-05/0.2199, allocations: 59.36 kB / 418.2 MB, free: 3.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.196e-05/0.2199, allocations: 18 kB / 418.2 MB, free: 3.273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.2199, allocations: 16.5 kB / 418.2 MB, free: 3.258 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2199, allocations: 0 / 418.2 MB, free: 3.258 MB / 362.7 MB Notification: Performance of Templates: time 0.006157/0.2261, allocations: 5.029 MB / 423.3 MB, free: 14.27 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.979350426932797]