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.001011/0.001011, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.002381, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001063/0.001063, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002363, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9208/0.9208, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08065/1.001, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.493e-06/1.493e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.898e-06/1.139e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001409/0.00142, allocations: 1.434 MB / 246.4 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2271/0.2285, allocations: 144.4 MB / 390.8 MB, free: 5.941 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.2285, allocations: 0 / 390.8 MB, free: 5.941 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.2285, allocations: 7.922 kB / 390.8 MB, free: 5.934 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005803/0.2291, allocations: 243.7 kB / 391.1 MB, free: 5.703 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.2297, allocations: 388.4 kB / 391.5 MB, free: 5.336 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 7.307e-05/0.2298, allocations: 59.66 kB / 391.5 MB, free: 5.277 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.077e-05/0.2298, allocations: 4 kB / 391.5 MB, free: 5.273 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.517e-05/0.2299, allocations: 38.52 kB / 391.6 MB, free: 5.238 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.2299, allocations: 23.97 kB / 391.6 MB, free: 5.215 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.23, allocations: 4 kB / 391.6 MB, free: 5.211 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006998/0.2307, allocations: 0.6157 MB / 392.2 MB, free: 4.594 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.2307, allocations: 4 kB / 392.2 MB, free: 4.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.2307, allocations: 15.94 kB / 392.2 MB, free: 4.574 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004798/0.2312, allocations: 462.9 kB / 392.7 MB, free: 4.121 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.415e-05/0.2312, allocations: 0 / 392.7 MB, free: 4.121 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2312, allocations: 0 / 392.7 MB, free: 4.121 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.2312, allocations: 0 / 392.7 MB, free: 4.121 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.0003814/0.2316, allocations: 380.4 kB / 393.1 MB, free: 3.727 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.2316, allocations: 12.62 kB / 393.1 MB, free: 3.715 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006497/0.2323, allocations: 219.3 kB / 393.3 MB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.2324, allocations: 206.3 kB / 393.5 MB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2325, allocations: 4.547 kB / 393.5 MB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.2325, allocations: 7.938 kB / 393.5 MB, free: 3.242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.2326, allocations: 87.31 kB / 393.6 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.2326, allocations: 0 / 393.6 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.2326, allocations: 4 kB / 393.6 MB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2326, allocations: 0 / 393.6 MB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.783e-05/0.2327, allocations: 39.89 kB / 393.6 MB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001023/0.2328, allocations: 85.83 kB / 393.7 MB, free: 3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.233, allocations: 101.1 kB / 393.8 MB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.233, allocations: 33.69 kB / 393.8 MB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.2331, allocations: 92.58 kB / 393.9 MB, free: 2.754 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.2332, allocations: 34.56 kB / 394 MB, free: 2.711 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.2332, allocations: 0 / 394 MB, free: 2.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001495/0.2333, allocations: 97.5 kB / 394.1 MB, free: 2.609 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.2333, allocations: 81.11 kB / 394.1 MB, free: 2.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.053e-05/0.2334, allocations: 159.6 kB / 394.3 MB, free: 2.344 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.2334, allocations: 25.7 kB / 394.3 MB, free: 2.312 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.966e-05/0.2335, allocations: 80.14 kB / 394.4 MB, free: 2.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.2335, allocations: 23.78 kB / 394.4 MB, free: 2.207 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.2335, allocations: 37.67 kB / 394.5 MB, free: 2.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.2336, allocations: 314.8 kB / 394.8 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.2336, allocations: 17.62 kB / 394.8 MB, free: 1.832 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.538e-05/0.2336, allocations: 47.34 kB / 394.8 MB, free: 1.773 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.737e-05/0.2337, allocations: 71.7 kB / 394.9 MB, free: 1.691 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2337, allocations: 0 / 394.9 MB, free: 1.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.995e-05/0.2338, allocations: 94.8 kB / 395 MB, free: 1.594 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.2338, allocations: 4 kB / 395 MB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2338, allocations: 3.938 kB / 395 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.2338, allocations: 4 kB / 395 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.194e-05/0.2339, allocations: 35.89 kB / 395 MB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.2339, allocations: 1.641 kB / 395 MB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.234, allocations: 12.06 kB / 395 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.234, allocations: 7.984 kB / 395.1 MB, free: 1.527 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.657e-05/0.2341, allocations: 117.8 kB / 395.2 MB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.2341, allocations: 7.984 kB / 395.2 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.2343, allocations: 174.9 kB / 395.3 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2343, allocations: 0 / 395.3 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.2343, allocations: 4 kB / 395.4 MB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2343, allocations: 4 kB / 395.4 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.691e-05/0.2344, allocations: 88.7 kB / 395.4 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2344, allocations: 0 / 395.4 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.081e-05/0.2345, allocations: 31.91 kB / 395.5 MB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.2345, allocations: 35.89 kB / 395.5 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2345, allocations: 4 kB / 395.5 MB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.2345, allocations: 0 / 395.5 MB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2345, allocations: 8.797 kB / 395.5 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2345, allocations: 0 / 395.5 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.2347, allocations: 131.5 kB / 395.6 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.2347, allocations: 0 / 395.6 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.333e-05/0.2347, allocations: 4 kB / 395.7 MB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.2348, allocations: 21.16 kB / 395.7 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.2348, allocations: 0 / 395.7 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.023e-05/0.2348, allocations: 53.56 kB / 395.7 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2348, allocations: 0 / 395.7 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002649/0.2351, allocations: 147.5 kB / 395.9 MB, free: 0.6562 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.000386/0.2355, allocations: 329.4 kB / 396.2 MB, free: 336 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.336e-05/0.2356, allocations: 56.75 kB / 396.2 MB, free: 276 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2356, allocations: 0 / 396.2 MB, free: 276 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.2356, allocations: 32.78 kB / 396.3 MB, free: 240 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.2357, allocations: 54.38 kB / 396.3 MB, free: 192 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.237, allocations: 223.5 kB / 396.5 MB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.932e-05/0.2371, allocations: 63.34 kB / 396.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003343/0.2374, allocations: 427.9 kB / 397 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.2375, allocations: 91.31 kB / 397.1 MB, free: 15.36 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2375, allocations: 4 kB / 397.1 MB, free: 15.36 MB / 378.7 MB Notification: Performance of Templates: time 0.007508/0.245, allocations: 7.636 MB / 404.8 MB, free: 7.801 MB / 378.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6979726534336805]