Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 85.34 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001448/0.001448, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 177 MB / 204.1 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.554e-05, allocations: 5.516 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002311/0.002337, allocations: 1.342 MB / 326.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1751/0.1774, allocations: 130.7 MB / 457 MB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.1774, allocations: 0 / 457 MB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.1775, allocations: 3.938 kB / 457 MB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.1785, allocations: 242.6 kB / 457.3 MB, free: 324 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1797, allocations: 422.3 kB / 457.7 MB, free: 15.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.1798, allocations: 55.66 kB / 457.7 MB, free: 15.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.885e-05/0.1798, allocations: 7.984 kB / 457.7 MB, free: 15.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.642e-05/0.1799, allocations: 39.84 kB / 457.8 MB, free: 15.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.18, allocations: 19.97 kB / 457.8 MB, free: 15.78 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.18, allocations: 0 / 457.8 MB, free: 15.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.1814, allocations: 0.5793 MB / 458.4 MB, free: 15.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.1814, allocations: 0 / 458.4 MB, free: 15.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.1814, allocations: 31.91 kB / 458.4 MB, free: 15.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009771/0.1824, allocations: 0.5222 MB / 458.9 MB, free: 14.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1824, allocations: 4 kB / 458.9 MB, free: 14.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1824, allocations: 0 / 458.9 MB, free: 14.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1824, allocations: 0 / 458.9 MB, free: 14.64 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.0006847/0.1831, allocations: 364.5 kB / 459.3 MB, free: 14.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1832, allocations: 15.98 kB / 459.3 MB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.1846, allocations: 116.8 kB / 459.4 MB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.1849, allocations: 153.7 kB / 459.6 MB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1849, allocations: 12.06 kB / 459.6 MB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.1849, allocations: 4 kB / 459.6 MB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.1852, allocations: 95.27 kB / 459.7 MB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1852, allocations: 0 / 459.7 MB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1852, allocations: 0 / 459.7 MB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.1852, allocations: 0 / 459.7 MB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.1854, allocations: 47.95 kB / 459.7 MB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.1857, allocations: 158.2 kB / 459.9 MB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.1862, allocations: 129 kB / 460 MB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.1863, allocations: 37.7 kB / 460 MB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/0.1866, allocations: 92.58 kB / 460.1 MB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1866, allocations: 34.5 kB / 460.2 MB, free: 13.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.1866, allocations: 0 / 460.2 MB, free: 13.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005301/0.1871, allocations: 133.5 kB / 460.3 MB, free: 13.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.1872, allocations: 89.03 kB / 460.4 MB, free: 13.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.1874, allocations: 153.8 kB / 460.5 MB, free: 12.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.1875, allocations: 25.7 kB / 460.6 MB, free: 12.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.1875, allocations: 88.14 kB / 460.6 MB, free: 12.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.1876, allocations: 19.84 kB / 460.7 MB, free: 12.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.1877, allocations: 25.7 kB / 460.7 MB, free: 12.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1878, allocations: 322.8 kB / 461 MB, free: 12.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.1879, allocations: 23.97 kB / 461 MB, free: 12.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.188, allocations: 55.41 kB / 461.1 MB, free: 12.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.1883, allocations: 87.33 kB / 461.2 MB, free: 12.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1883, allocations: 4 kB / 461.2 MB, free: 12.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003801/0.1887, allocations: 125.4 kB / 461.3 MB, free: 12.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1887, allocations: 4 kB / 461.3 MB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1887, allocations: 0 / 461.3 MB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1887, allocations: 8.062 kB / 461.3 MB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.1889, allocations: 27.91 kB / 461.3 MB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1889, allocations: 0 / 461.3 MB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.1891, allocations: 7.938 kB / 461.3 MB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.1891, allocations: 11.98 kB / 461.3 MB, free: 12 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.734e-05/0.1892, allocations: 113.8 kB / 461.5 MB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.1893, allocations: 11.89 kB / 461.5 MB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006554/0.1899, allocations: 253.8 kB / 461.7 MB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1899, allocations: 3.938 kB / 461.7 MB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1899, allocations: 0 / 461.7 MB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.1899, allocations: 7.938 kB / 461.7 MB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.1901, allocations: 150.8 kB / 461.9 MB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1901, allocations: 0 / 461.9 MB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.1903, allocations: 19.97 kB / 461.9 MB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.1903, allocations: 7.938 kB / 461.9 MB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1903, allocations: 0 / 461.9 MB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1903, allocations: 4 kB / 461.9 MB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1903, allocations: 4 kB / 461.9 MB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.1908, allocations: 177.8 kB / 462.1 MB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.1909, allocations: 23.84 kB / 462.1 MB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.1909, allocations: 4.047 kB / 462.1 MB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.1911, allocations: 8 kB / 462.1 MB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.1911, allocations: 11.98 kB / 462.1 MB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.1911, allocations: 0 / 462.1 MB, free: 11.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.1913, allocations: 131.2 kB / 462.3 MB, free: 11.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1913, allocations: 4.062 kB / 462.3 MB, free: 11.01 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005534/0.1919, allocations: 135.6 kB / 462.4 MB, free: 10.88 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 (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.0006798/0.1926, allocations: 314.6 kB / 462.7 MB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.1929, allocations: 75.88 kB / 462.8 MB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1929, allocations: 0 / 462.8 MB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.193, allocations: 40.27 kB / 462.8 MB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.1933, allocations: 16 kB / 462.8 MB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005491/0.1938, allocations: 257.5 kB / 463.1 MB, free: 10.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.992e-05/0.1939, allocations: 75.33 kB / 463.2 MB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006049/0.1945, allocations: 435 kB / 463.6 MB, free: 9.629 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.1946, allocations: 40.45 kB / 463.6 MB, free: 9.59 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1946, allocations: 0 / 463.6 MB, free: 9.59 MB / 430.1 MB Notification: Performance of Templates: time 0.01105/0.2057, allocations: 5.497 MB / 469.1 MB, free: 4.102 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.81389769539237]