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.001376/0.001376, allocations: 78.64 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.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.00207/0.00207, allocations: 149.8 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.463/1.463, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] 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.272e-06/1.272e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.138e-05, allocations: 2.281 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001888/0.001909, allocations: 1.336 MB / 320.2 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1638/0.1657, allocations: 128.1 MB / 448.3 MB, free: 9.793 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.1658, allocations: 0 / 448.3 MB, free: 9.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.1658, allocations: 7.922 kB / 448.3 MB, free: 9.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.1672, allocations: 386.1 kB / 448.7 MB, free: 9.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.1686, allocations: 0.5399 MB / 449.3 MB, free: 8.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.1687, allocations: 79.62 kB / 449.3 MB, free: 8.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.1688, allocations: 4 kB / 449.3 MB, free: 8.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.97e-05/0.1689, allocations: 47.89 kB / 449.4 MB, free: 8.738 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.994e-05/0.169, allocations: 31.89 kB / 449.4 MB, free: 8.707 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.169, allocations: 4 kB / 449.4 MB, free: 8.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.1708, allocations: 0.9336 MB / 450.4 MB, free: 7.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.1709, allocations: 11.98 kB / 450.4 MB, free: 7.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.1709, allocations: 19.94 kB / 450.4 MB, free: 7.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.1722, allocations: 0.7442 MB / 451.1 MB, free: 6.992 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1722, allocations: 3.984 kB / 451.1 MB, free: 6.988 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1722, allocations: 3.938 kB / 451.1 MB, free: 6.984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1722, allocations: 4 kB / 451.1 MB, free: 6.98 MB / 414.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.0006951/0.1729, allocations: 385.2 kB / 451.5 MB, free: 6.574 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.173, allocations: 8.922 kB / 451.5 MB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005143/0.1735, allocations: 72.78 kB / 451.6 MB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.1737, allocations: 137.7 kB / 451.7 MB, free: 6.336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1737, allocations: 8.359 kB / 451.7 MB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.1737, allocations: 8.125 kB / 451.8 MB, free: 6.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.1739, allocations: 71.38 kB / 451.8 MB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1739, allocations: 0 / 451.8 MB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1739, allocations: 4 kB / 451.8 MB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1739, allocations: 12 kB / 451.8 MB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.174, allocations: 39.91 kB / 451.9 MB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.1742, allocations: 138.2 kB / 452 MB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.1746, allocations: 113.3 kB / 452.1 MB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.341e-05/0.1747, allocations: 29.7 kB / 452.1 MB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004544/0.1751, allocations: 63.88 kB / 452.2 MB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.1752, allocations: 38.5 kB / 452.2 MB, free: 5.742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1752, allocations: 0 / 452.2 MB, free: 5.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004052/0.1756, allocations: 121.5 kB / 452.4 MB, free: 5.617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.1756, allocations: 77.11 kB / 452.4 MB, free: 5.523 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.1758, allocations: 150.1 kB / 452.6 MB, free: 5.367 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1758, allocations: 25.7 kB / 452.6 MB, free: 5.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.1758, allocations: 88.14 kB / 452.7 MB, free: 5.246 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.1759, allocations: 23.84 kB / 452.7 MB, free: 5.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.1759, allocations: 21.7 kB / 452.7 MB, free: 5.195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1761, allocations: 322.8 kB / 453.1 MB, free: 4.871 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.1761, allocations: 19.98 kB / 453.1 MB, free: 4.852 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1763, allocations: 47.42 kB / 453.1 MB, free: 4.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.1764, allocations: 83.72 kB / 453.2 MB, free: 4.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1764, allocations: 4 kB / 453.2 MB, free: 4.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002879/0.1767, allocations: 113.4 kB / 453.3 MB, free: 4.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1768, allocations: 11.98 kB / 453.3 MB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1768, allocations: 0 / 453.3 MB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1768, allocations: 0 / 453.3 MB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.746e-05/0.1768, allocations: 20 kB / 453.4 MB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1769, allocations: 4.141 kB / 453.4 MB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.305e-05/0.1769, allocations: 11.92 kB / 453.4 MB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.1769, allocations: 4.062 kB / 453.4 MB, free: 4.527 MB / 414.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.089e-05/0.177, allocations: 113.8 kB / 453.5 MB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/0.1771, allocations: 15.83 kB / 453.5 MB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.1774, allocations: 113.6 kB / 453.6 MB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1774, allocations: 0 / 453.6 MB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1774, allocations: 4 kB / 453.6 MB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1774, allocations: 3.984 kB / 453.6 MB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.1775, allocations: 121.3 kB / 453.7 MB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1775, allocations: 0 / 453.7 MB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/0.1776, allocations: 23.92 kB / 453.8 MB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1776, allocations: 0 / 453.8 MB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1776, allocations: 3.938 kB / 453.8 MB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1776, allocations: 0 / 453.8 MB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1776, allocations: 4 kB / 453.8 MB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.178, allocations: 157.9 kB / 453.9 MB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.178, allocations: 7.938 kB / 453.9 MB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.178, allocations: 19.94 kB / 454 MB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.694e-05/0.1781, allocations: 0 / 454 MB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.1781, allocations: 7.984 kB / 454 MB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1781, allocations: 4.062 kB / 454 MB, free: 3.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.1782, allocations: 119.2 kB / 454.1 MB, free: 3.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1782, allocations: 0 / 454.1 MB, free: 3.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005426/0.1788, allocations: 163.4 kB / 454.2 MB, free: 3.59 MB / 414.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.001138/0.1799, allocations: 445.2 kB / 454.7 MB, free: 3.152 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.1802, allocations: 59.91 kB / 454.7 MB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1802, allocations: 4.125 kB / 454.7 MB, free: 3.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.654e-05/0.1803, allocations: 31.97 kB / 454.8 MB, free: 3.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.1805, allocations: 20.5 kB / 454.8 MB, free: 3.039 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.181, allocations: 261.6 kB / 455 MB, free: 2.754 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.126e-05/0.1811, allocations: 83.2 kB / 455.1 MB, free: 2.652 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.664e-05/0.1812, allocations: 19.92 kB / 455.1 MB, free: 2.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.1812, allocations: 12.5 kB / 455.2 MB, free: 2.617 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1812, allocations: 0 / 455.2 MB, free: 2.617 MB / 414.1 MB Notification: Performance of Templates: time 0.01036/0.1916, allocations: 4.857 MB / 460 MB, free: 13.79 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.781924396753311]