Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001357/0.001357, allocations: 81.42 kB / 20.68 MB, free: 1.023 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.001412/0.001412, allocations: 145.7 kB / 23.94 MB, free: 4.168 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.429/1.429, allocations: 173.4 MB / 200.4 MB, free: 12.88 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [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 1.858e-05/1.985e-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_T): time 0.00182/0.00184, allocations: 1.317 MB / 320.2 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1633/0.1651, allocations: 127.8 MB / 448 MB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.1652, allocations: 4 kB / 448 MB, free: 10.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.1652, allocations: 7.875 kB / 448 MB, free: 10.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.1663, allocations: 238.6 kB / 448.3 MB, free: 9.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.1677, allocations: 417.5 kB / 448.7 MB, free: 9.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.1679, allocations: 63.66 kB / 448.7 MB, free: 9.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.1679, allocations: 0 / 448.7 MB, free: 9.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.313e-05/0.168, allocations: 35.89 kB / 448.8 MB, free: 9.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1681, allocations: 27.91 kB / 448.8 MB, free: 9.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1681, allocations: 4 kB / 448.8 MB, free: 9.316 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.1694, allocations: 0.5573 MB / 449.4 MB, free: 8.758 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.1694, allocations: 11.92 kB / 449.4 MB, free: 8.746 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.1695, allocations: 15.98 kB / 449.4 MB, free: 8.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.1706, allocations: 0.5261 MB / 449.9 MB, free: 8.203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1706, allocations: 3.938 kB / 449.9 MB, free: 8.199 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1706, allocations: 4 kB / 449.9 MB, free: 8.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1706, allocations: 0 / 449.9 MB, free: 8.195 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.000798/0.1714, allocations: 357.4 kB / 450.3 MB, free: 7.816 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.1714, allocations: 8.922 kB / 450.3 MB, free: 7.809 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.1727, allocations: 104.8 kB / 450.4 MB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.173, allocations: 161.6 kB / 450.6 MB, free: 7.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.173, allocations: 12.12 kB / 450.6 MB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.173, allocations: 0 / 450.6 MB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.1733, allocations: 95.31 kB / 450.7 MB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1733, allocations: 0 / 450.7 MB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.1733, allocations: 0 / 450.7 MB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1733, allocations: 4 kB / 450.7 MB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.1735, allocations: 47.89 kB / 450.7 MB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.1738, allocations: 142.7 kB / 450.8 MB, free: 7.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.1743, allocations: 129.1 kB / 451 MB, free: 7.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.1745, allocations: 45.69 kB / 451 MB, free: 6.984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.1747, allocations: 88.58 kB / 451.1 MB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1748, allocations: 30.56 kB / 451.1 MB, free: 6.859 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1748, allocations: 0 / 451.1 MB, free: 6.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005618/0.1753, allocations: 141.8 kB / 451.3 MB, free: 6.715 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.1754, allocations: 77.11 kB / 451.3 MB, free: 6.621 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.1756, allocations: 161.8 kB / 451.5 MB, free: 6.453 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1757, allocations: 29.7 kB / 451.5 MB, free: 6.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.1757, allocations: 84.14 kB / 451.6 MB, free: 6.332 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.1758, allocations: 19.8 kB / 451.6 MB, free: 6.312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.1758, allocations: 37.69 kB / 451.7 MB, free: 6.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.176, allocations: 310.8 kB / 452 MB, free: 5.957 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1761, allocations: 27.97 kB / 452 MB, free: 5.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.1762, allocations: 63.33 kB / 452.1 MB, free: 5.855 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.1765, allocations: 83.39 kB / 452.1 MB, free: 5.762 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1765, allocations: 0 / 452.1 MB, free: 5.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003921/0.1769, allocations: 129.3 kB / 452.3 MB, free: 5.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1769, allocations: 7.125 kB / 452.3 MB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1769, allocations: 4 kB / 452.3 MB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1769, allocations: 0 / 452.3 MB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.1771, allocations: 27.97 kB / 452.3 MB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1771, allocations: 0 / 452.3 MB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.1773, allocations: 12.05 kB / 452.3 MB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.1773, allocations: 7.984 kB / 452.3 MB, free: 5.574 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 0.000111/0.1774, allocations: 117.8 kB / 452.4 MB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/0.1775, allocations: 11.89 kB / 452.5 MB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006555/0.1781, allocations: 249.3 kB / 452.7 MB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1781, allocations: 0 / 452.7 MB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1781, allocations: 8 kB / 452.7 MB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1781, allocations: 0 / 452.7 MB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.1783, allocations: 146.8 kB / 452.9 MB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1783, allocations: 64 / 452.9 MB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.1785, allocations: 31.97 kB / 452.9 MB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1785, allocations: 3.938 kB / 452.9 MB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1786, allocations: 3.984 kB / 452.9 MB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1786, allocations: 4 kB / 452.9 MB, free: 4.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1786, allocations: 3.938 kB / 452.9 MB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.1791, allocations: 173.9 kB / 453.1 MB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.1791, allocations: 23.84 kB / 453.1 MB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.1792, allocations: 0 / 453.1 MB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.1794, allocations: 8 kB / 453.1 MB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.1794, allocations: 16.14 kB / 453.1 MB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.1794, allocations: 4 kB / 453.1 MB, free: 4.719 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.1796, allocations: 127.2 kB / 453.2 MB, free: 4.594 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1796, allocations: 0 / 453.2 MB, free: 4.594 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005382/0.1801, allocations: 131.6 kB / 453.4 MB, free: 4.465 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 (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.0008636/0.181, allocations: 328.5 kB / 453.7 MB, free: 4.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.1813, allocations: 75.88 kB / 453.8 MB, free: 4.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1813, allocations: 0 / 453.8 MB, free: 4.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.1815, allocations: 43.91 kB / 453.8 MB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.1817, allocations: 28.44 kB / 453.8 MB, free: 4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.1823, allocations: 253.8 kB / 454.1 MB, free: 3.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.478e-05/0.1824, allocations: 67.34 kB / 454.2 MB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006192/0.183, allocations: 435 kB / 454.6 MB, free: 3.211 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.1831, allocations: 40.45 kB / 454.6 MB, free: 3.172 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.1832, allocations: 0 / 454.6 MB, free: 3.172 MB / 414.1 MB Notification: Performance of Templates: time 0.01122/0.1944, allocations: 5.475 MB / 460.1 MB, free: 13.7 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.726117394864559]