Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.001562/0.001562, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001413/0.001413, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.437/1.437, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.564e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00209/0.002115, allocations: 1.361 MB / 326.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1663/0.1685, allocations: 131 MB / 457.4 MB, free: 352 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.1685, allocations: 0 / 457.4 MB, free: 352 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.786e-05/0.1685, allocations: 3.938 kB / 457.4 MB, free: 348 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.1698, allocations: 386.1 kB / 457.8 MB, free: 15.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.1712, allocations: 0.5315 MB / 458.3 MB, free: 15.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1713, allocations: 79.58 kB / 458.4 MB, free: 15.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.1713, allocations: 7.984 kB / 458.4 MB, free: 15.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.025e-05/0.1714, allocations: 39.84 kB / 458.4 MB, free: 15.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.985e-05/0.1715, allocations: 35.95 kB / 458.5 MB, free: 15.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1715, allocations: 0 / 458.5 MB, free: 15.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.1732, allocations: 0.9455 MB / 459.4 MB, free: 14.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.1733, allocations: 19.91 kB / 459.4 MB, free: 14.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.1733, allocations: 23.92 kB / 459.5 MB, free: 14.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.1745, allocations: 0.7521 MB / 460.2 MB, free: 13.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1745, allocations: 0 / 460.2 MB, free: 13.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1745, allocations: 0 / 460.2 MB, free: 13.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1745, allocations: 0 / 460.2 MB, free: 13.53 MB / 430.1 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.0006426/0.1751, allocations: 385.2 kB / 460.6 MB, free: 13.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1752, allocations: 8.031 kB / 460.6 MB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004977/0.1757, allocations: 72.8 kB / 460.7 MB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1758, allocations: 145.5 kB / 460.8 MB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1759, allocations: 4.375 kB / 460.8 MB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.1759, allocations: 4.125 kB / 460.8 MB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1761, allocations: 75.39 kB / 460.9 MB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1761, allocations: 0 / 460.9 MB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1761, allocations: 0 / 460.9 MB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1761, allocations: 0 / 460.9 MB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1762, allocations: 51.91 kB / 460.9 MB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.1764, allocations: 134.2 kB / 461.1 MB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.1768, allocations: 105.2 kB / 461.2 MB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.1769, allocations: 37.77 kB / 461.2 MB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004359/0.1773, allocations: 63.86 kB / 461.3 MB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/0.1773, allocations: 42.5 kB / 461.3 MB, free: 12.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1773, allocations: 0 / 461.3 MB, free: 12.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003895/0.1777, allocations: 113.9 kB / 461.4 MB, free: 12.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.1778, allocations: 81.11 kB / 461.5 MB, free: 12.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.1779, allocations: 137.8 kB / 461.6 MB, free: 11.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.178, allocations: 25.7 kB / 461.7 MB, free: 11.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.178, allocations: 96.12 kB / 461.8 MB, free: 11.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.1781, allocations: 19.8 kB / 461.8 MB, free: 11.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.1781, allocations: 29.64 kB / 461.8 MB, free: 11.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1783, allocations: 314.8 kB / 462.1 MB, free: 11.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.1784, allocations: 27.98 kB / 462.1 MB, free: 11.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.991e-05/0.1785, allocations: 51.39 kB / 462.2 MB, free: 11.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.1786, allocations: 83.34 kB / 462.3 MB, free: 11.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1786, allocations: 0 / 462.3 MB, free: 11.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002778/0.1789, allocations: 117.4 kB / 462.4 MB, free: 11.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1789, allocations: 4 kB / 462.4 MB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1789, allocations: 4 kB / 462.4 MB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.179, allocations: 0 / 462.4 MB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.179, allocations: 15.98 kB / 462.4 MB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.179, allocations: 4 kB / 462.4 MB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.1791, allocations: 7.891 kB / 462.4 MB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.1791, allocations: 4 kB / 462.4 MB, free: 11.09 MB / 430.1 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 9.835e-05/0.1792, allocations: 121.8 kB / 462.5 MB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.1793, allocations: 11.92 kB / 462.6 MB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.1795, allocations: 114 kB / 462.7 MB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1795, allocations: 0 / 462.7 MB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1795, allocations: 4 kB / 462.7 MB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1795, allocations: 0 / 462.7 MB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.1797, allocations: 137.2 kB / 462.8 MB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1797, allocations: 0 / 462.8 MB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.034e-05/0.1798, allocations: 15.92 kB / 462.8 MB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1798, allocations: 0 / 462.8 MB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1798, allocations: 11.94 kB / 462.8 MB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1798, allocations: 0 / 462.8 MB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1798, allocations: 0 / 462.8 MB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.1802, allocations: 157.9 kB / 463 MB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.1802, allocations: 8.031 kB / 463 MB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.1802, allocations: 7.922 kB / 463 MB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.89e-05/0.1803, allocations: 4 kB / 463 MB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.1803, allocations: 8.188 kB / 463 MB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1803, allocations: 3.984 kB / 463 MB, free: 10.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.566e-05/0.1804, allocations: 111.3 kB / 463.1 MB, free: 10.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1804, allocations: 4.062 kB / 463.1 MB, free: 10.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005412/0.181, allocations: 171.3 kB / 463.3 MB, free: 10.14 MB / 430.1 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.00101/0.182, allocations: 434.3 kB / 463.7 MB, free: 9.711 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1822, allocations: 59.89 kB / 463.8 MB, free: 9.652 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1822, allocations: 4 kB / 463.8 MB, free: 9.648 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.1823, allocations: 27.98 kB / 463.8 MB, free: 9.621 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.1825, allocations: 32.03 kB / 463.8 MB, free: 9.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.183, allocations: 253.6 kB / 464.1 MB, free: 9.312 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.413e-05/0.1831, allocations: 75.33 kB / 464.2 MB, free: 9.219 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.1832, allocations: 16.38 kB / 464.2 MB, free: 9.203 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.1832, allocations: 20.44 kB / 464.2 MB, free: 9.184 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1832, allocations: 0 / 464.2 MB, free: 9.184 MB / 430.1 MB Notification: Performance of Templates: time 0.0101/0.1933, allocations: 4.862 MB / 469.1 MB, free: 4.352 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.694778427481651]