Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001323/0.001323, allocations: 82.98 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.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.001393/0.001393, allocations: 163.8 kB / 23.95 MB, free: 4.156 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.44/1.44, allocations: 177.1 MB / 204.3 MB, free: 9.184 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 325 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.871e-05, allocations: 2.281 kB / 325 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002061/0.002079, allocations: 1.361 MB / 326.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1697/0.1717, allocations: 130.7 MB / 457.1 MB, free: 0.6562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.1718, allocations: 7.938 kB / 457.1 MB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.1718, allocations: 0 / 457.1 MB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009767/0.1728, allocations: 246.6 kB / 457.3 MB, free: 416 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.174, allocations: 414.6 kB / 457.7 MB, free: 4 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.1741, allocations: 67.59 kB / 457.8 MB, free: 15.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.313e-05/0.1741, allocations: 7.922 kB / 457.8 MB, free: 15.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.134e-05/0.1742, allocations: 27.97 kB / 457.8 MB, free: 15.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.1743, allocations: 23.92 kB / 457.9 MB, free: 15.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1743, allocations: 0 / 457.9 MB, free: 15.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.1755, allocations: 0.5807 MB / 458.4 MB, free: 15.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.1755, allocations: 3.938 kB / 458.4 MB, free: 15.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.1755, allocations: 19.98 kB / 458.5 MB, free: 15.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009686/0.1765, allocations: 0.5261 MB / 459 MB, free: 14.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1765, allocations: 0 / 459 MB, free: 14.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.899e-06/0.1765, allocations: 3.984 kB / 459 MB, free: 14.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1765, allocations: 4 kB / 459 MB, free: 14.74 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.0005987/0.1771, allocations: 357.4 kB / 459.3 MB, free: 14.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1771, allocations: 8.031 kB / 459.4 MB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.1786, allocations: 120.8 kB / 459.5 MB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.1788, allocations: 153.7 kB / 459.6 MB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1788, allocations: 8.125 kB / 459.6 MB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.1789, allocations: 7.938 kB / 459.6 MB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.1791, allocations: 91.33 kB / 459.7 MB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1791, allocations: 0 / 459.7 MB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1791, allocations: 4 kB / 459.7 MB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1791, allocations: 0 / 459.7 MB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.1793, allocations: 43.95 kB / 459.8 MB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.1796, allocations: 154.2 kB / 459.9 MB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/0.1801, allocations: 125.1 kB / 460 MB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.1802, allocations: 41.69 kB / 460.1 MB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.1805, allocations: 88.58 kB / 460.2 MB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.1805, allocations: 50.42 kB / 460.2 MB, free: 13.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1805, allocations: 0 / 460.2 MB, free: 13.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005246/0.181, allocations: 133.5 kB / 460.4 MB, free: 13.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.1811, allocations: 81.09 kB / 460.4 MB, free: 13.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.1813, allocations: 149.8 kB / 460.6 MB, free: 12.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1814, allocations: 25.7 kB / 460.6 MB, free: 12.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.1814, allocations: 84.14 kB / 460.7 MB, free: 12.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.1814, allocations: 27.78 kB / 460.7 MB, free: 12.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/0.1815, allocations: 25.7 kB / 460.7 MB, free: 12.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1817, allocations: 326.8 kB / 461.1 MB, free: 12.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1818, allocations: 27.97 kB / 461.1 MB, free: 12.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.1819, allocations: 47.41 kB / 461.1 MB, free: 12.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.1822, allocations: 83.34 kB / 461.2 MB, free: 12.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1822, allocations: 0 / 461.2 MB, free: 12.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003927/0.1826, allocations: 133.5 kB / 461.3 MB, free: 12.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1826, allocations: 4 kB / 461.3 MB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1826, allocations: 0 / 461.3 MB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1826, allocations: 11.94 kB / 461.4 MB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.1827, allocations: 19.97 kB / 461.4 MB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1827, allocations: 4 kB / 461.4 MB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.1829, allocations: 11.94 kB / 461.4 MB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.183, allocations: 7.984 kB / 461.4 MB, free: 12.11 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.876e-05/0.1831, allocations: 113.8 kB / 461.5 MB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.1831, allocations: 7.922 kB / 461.5 MB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005923/0.1837, allocations: 261.7 kB / 461.8 MB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1837, allocations: 0 / 461.8 MB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1837, allocations: 0 / 461.8 MB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1837, allocations: 0 / 461.8 MB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.1839, allocations: 154.8 kB / 461.9 MB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1839, allocations: 3.984 kB / 461.9 MB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.1841, allocations: 19.97 kB / 461.9 MB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1841, allocations: 7.938 kB / 462 MB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1841, allocations: 8 kB / 462 MB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1841, allocations: 0 / 462 MB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1841, allocations: 0 / 462 MB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/0.1846, allocations: 177.8 kB / 462.1 MB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.1847, allocations: 27.8 kB / 462.2 MB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.1847, allocations: 3.938 kB / 462.2 MB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.1849, allocations: 4 kB / 462.2 MB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.1849, allocations: 8.047 kB / 462.2 MB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1849, allocations: 8 kB / 462.2 MB, free: 11.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.1851, allocations: 135.2 kB / 462.3 MB, free: 11.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1851, allocations: 0 / 462.3 MB, free: 11.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000495/0.1856, allocations: 135.6 kB / 462.5 MB, free: 10.98 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.0006742/0.1863, allocations: 310.6 kB / 462.8 MB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.1866, allocations: 75.88 kB / 462.8 MB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1866, allocations: 4.125 kB / 462.8 MB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.1867, allocations: 39.97 kB / 462.9 MB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.1869, allocations: 12.19 kB / 462.9 MB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.1875, allocations: 253.6 kB / 463.1 MB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.41e-05/0.1875, allocations: 71.33 kB / 463.2 MB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005888/0.1881, allocations: 435.8 kB / 463.6 MB, free: 9.746 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.1883, allocations: 40.45 kB / 463.7 MB, free: 9.707 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1883, allocations: 0 / 463.7 MB, free: 9.707 MB / 430.1 MB Notification: Performance of Templates: time 0.01041/0.1987, allocations: 5.507 MB / 469.2 MB, free: 4.215 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.583226948976517]