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.0009239/0.0009239, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0008938/0.0008938, allocations: 143.4 kB / 24.89 MB, free: 8.727 MB / 18.57 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 0.8579/0.8579, allocations: 173.4 MB / 201.5 MB, free: 8.75 MB / 186.7 MB " [Timeout remaining time 179] 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.473e-06/1.473e-06, allocations: 0 / 268.4 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.575e-05, allocations: 2.312 kB / 268.4 MB, free: 6.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002176/0.002192, allocations: 1.39 MB / 269.8 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2168/0.219, allocations: 141.1 MB / 410.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.2191, allocations: 0 / 410.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.2191, allocations: 7.922 kB / 411 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007704/0.2199, allocations: 251.6 kB / 411.2 MB, free: 9.867 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008264/0.2207, allocations: 421.3 kB / 411.6 MB, free: 9.457 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.2208, allocations: 55.66 kB / 411.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.2208, allocations: 8 kB / 411.7 MB, free: 9.395 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.181e-05/0.2209, allocations: 31.91 kB / 411.7 MB, free: 9.363 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.2209, allocations: 19.97 kB / 411.7 MB, free: 9.344 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.2209, allocations: 4 kB / 411.7 MB, free: 9.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006739/0.2216, allocations: 0.5727 MB / 412.3 MB, free: 8.766 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.2216, allocations: 11.98 kB / 412.3 MB, free: 8.754 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.2216, allocations: 15.94 kB / 412.3 MB, free: 8.738 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005569/0.2222, allocations: 0.5299 MB / 412.9 MB, free: 8.207 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2222, allocations: 0 / 412.9 MB, free: 8.207 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2222, allocations: 0 / 412.9 MB, free: 8.207 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.2222, allocations: 0 / 412.9 MB, free: 8.207 MB / 362.7 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.0003334/0.2225, allocations: 320.7 kB / 413.2 MB, free: 7.871 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2226, allocations: 16.91 kB / 413.2 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005091/0.2231, allocations: 101.5 kB / 413.3 MB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.2233, allocations: 206.3 kB / 413.5 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.2233, allocations: 8.562 kB / 413.5 MB, free: 7.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.2233, allocations: 7.922 kB / 413.5 MB, free: 7.512 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.2234, allocations: 87.27 kB / 413.6 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-06/0.2234, allocations: 0 / 413.6 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.2234, allocations: 4 kB / 413.6 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2234, allocations: 4 kB / 413.6 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.457e-05/0.2235, allocations: 27.95 kB / 413.6 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.963e-05/0.2236, allocations: 85.84 kB / 413.7 MB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.224, allocations: 113 kB / 413.8 MB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.2241, allocations: 29.7 kB / 413.8 MB, free: 7.113 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.2242, allocations: 92.56 kB / 413.9 MB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.2242, allocations: 38.5 kB / 414 MB, free: 6.977 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.2242, allocations: 0 / 414 MB, free: 6.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001669/0.2244, allocations: 97.5 kB / 414.1 MB, free: 6.875 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.2244, allocations: 77.11 kB / 414.1 MB, free: 6.781 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.2245, allocations: 158.6 kB / 414.3 MB, free: 6.613 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.2245, allocations: 25.7 kB / 414.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.079e-05/0.2245, allocations: 88.12 kB / 414.4 MB, free: 6.492 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.2246, allocations: 23.8 kB / 414.4 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.2246, allocations: 29.67 kB / 414.5 MB, free: 6.434 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.2247, allocations: 318.8 kB / 414.8 MB, free: 6.113 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.2247, allocations: 15.98 kB / 414.8 MB, free: 6.098 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.723e-05/0.2247, allocations: 43.41 kB / 414.8 MB, free: 6.043 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.407e-05/0.2248, allocations: 75.31 kB / 414.9 MB, free: 5.957 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2248, allocations: 4 kB / 414.9 MB, free: 5.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001064/0.2249, allocations: 88.83 kB / 415 MB, free: 5.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2249, allocations: 8 kB / 415 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2249, allocations: 3.938 kB / 415 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.225, allocations: 0 / 415 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/0.225, allocations: 19.97 kB / 415 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.225, allocations: 4 kB / 415 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.2251, allocations: 11.98 kB / 415 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2251, allocations: 4.062 kB / 415 MB, free: 5.812 MB / 362.7 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 5.351e-05/0.2251, allocations: 113.8 kB / 415.2 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.2252, allocations: 11.98 kB / 415.2 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.2254, allocations: 174.1 kB / 415.3 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2254, allocations: 0 / 415.3 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.2254, allocations: 0 / 415.3 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2254, allocations: 0 / 415.3 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.2255, allocations: 100.7 kB / 415.4 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2255, allocations: 0.5156 kB / 415.4 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.082e-05/0.2256, allocations: 23.97 kB / 415.5 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2256, allocations: 0 / 415.5 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.2256, allocations: 0 / 415.5 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2256, allocations: 7.938 kB / 415.5 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2256, allocations: 3.938 kB / 415.5 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.2258, allocations: 132.5 kB / 415.6 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.2258, allocations: 43.88 kB / 415.6 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.2258, allocations: 8.031 kB / 415.7 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.313e-05/0.2259, allocations: 0.875 kB / 415.7 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.2259, allocations: 11.92 kB / 415.7 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.2259, allocations: 4 kB / 415.7 MB, free: 5.141 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.256e-05/0.226, allocations: 56.8 kB / 415.7 MB, free: 5.082 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.226, allocations: 0 / 415.7 MB, free: 5.082 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002599/0.2262, allocations: 135.5 kB / 415.9 MB, free: 4.949 MB / 362.7 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.0004699/0.2267, allocations: 329.9 kB / 416.2 MB, free: 4.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.975e-05/0.2268, allocations: 64.55 kB / 416.2 MB, free: 4.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2268, allocations: 0 / 416.2 MB, free: 4.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.885e-05/0.2268, allocations: 28.94 kB / 416.3 MB, free: 4.551 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.227, allocations: 27.72 kB / 416.3 MB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.2274, allocations: 251.7 kB / 416.5 MB, free: 4.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.732e-05/0.2275, allocations: 63.34 kB / 416.6 MB, free: 4.172 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000333/0.2278, allocations: 432.7 kB / 417 MB, free: 3.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.2279, allocations: 91.31 kB / 417.1 MB, free: 3.664 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2279, allocations: 0 / 417.1 MB, free: 3.664 MB / 362.7 MB Notification: Performance of Templates: time 0.007435/0.2354, allocations: 7.325 MB / 424.4 MB, free: 12.39 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1072904970496893]