Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.001323/0.001323, allocations: 84.25 kB / 22.22 MB, free: 2.281 MB / 18.57 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.001543/0.001543, allocations: 168.6 kB / 25.61 MB, free: 8.852 MB / 18.57 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.9249/0.9249, allocations: 177 MB / 205.9 MB, free: 4.41 MB / 186.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.555e-05, allocations: 2.312 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002549/0.002575, allocations: 1.419 MB / 275.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.233/0.2356, allocations: 142.2 MB / 417.7 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.2357, allocations: 0 / 417.7 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.247e-05/0.2357, allocations: 7.984 kB / 417.7 MB, free: 0.918 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009762/0.2367, allocations: 380.5 kB / 418.1 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008442/0.2375, allocations: 0.5367 MB / 418.6 MB, free: 20 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.2376, allocations: 76.27 kB / 418.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.266e-05/0.2377, allocations: 8 kB / 418.7 MB, free: 15.94 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.684e-05/0.2377, allocations: 43.88 kB / 418.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.136e-05/0.2378, allocations: 31.91 kB / 418.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.2378, allocations: 4 kB / 418.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.239, allocations: 0.9501 MB / 419.7 MB, free: 14.91 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.2391, allocations: 15.97 kB / 419.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.2391, allocations: 19.94 kB / 419.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009174/0.24, allocations: 0.7518 MB / 420.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.24, allocations: 4 kB / 420.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.24, allocations: 8 kB / 420.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.24, allocations: 0 / 420.5 MB, free: 14.11 MB / 346.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.000452/0.2405, allocations: 479.8 kB / 421 MB, free: 13.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.2405, allocations: 12.03 kB / 421 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.2408, allocations: 80.73 kB / 421.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.293e-05/0.2409, allocations: 128.5 kB / 421.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2409, allocations: 4.375 kB / 421.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.2409, allocations: 4.562 kB / 421.2 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.792e-05/0.241, allocations: 81.61 kB / 421.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.241, allocations: 4 kB / 421.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.241, allocations: 11.98 kB / 421.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.241, allocations: 0 / 421.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.337e-05/0.241, allocations: 11.98 kB / 421.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/0.2412, allocations: 109 kB / 421.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.2413, allocations: 90.23 kB / 421.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.2413, allocations: 23.38 kB / 421.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.2415, allocations: 47.94 kB / 421.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.2415, allocations: 41.33 kB / 421.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.2415, allocations: 0 / 421.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001584/0.2417, allocations: 81.44 kB / 421.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.2417, allocations: 81.11 kB / 421.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.821e-05/0.2418, allocations: 181.9 kB / 422 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.2418, allocations: 25.7 kB / 422 MB, free: 12.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.2418, allocations: 138.9 kB / 422.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.2419, allocations: 23.8 kB / 422.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.2419, allocations: 31.34 kB / 422.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.242, allocations: 0.4923 MB / 422.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.242, allocations: 7.984 kB / 422.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.047e-05/0.2421, allocations: 38.75 kB / 422.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.133e-05/0.2421, allocations: 59.66 kB / 422.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2421, allocations: 0 / 422.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001119/0.2422, allocations: 85.44 kB / 422.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2422, allocations: 8 kB / 422.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2422, allocations: 0 / 422.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.2423, allocations: 3.938 kB / 422.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.103e-05/0.2423, allocations: 18.98 kB / 422.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.2423, allocations: 4 kB / 422.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.2423, allocations: 7.953 kB / 422.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.2423, allocations: 4 kB / 422.9 MB, free: 11.46 MB / 346.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 6.119e-05/0.2424, allocations: 160.6 kB / 423.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.2424, allocations: 11.89 kB / 423.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.2425, allocations: 86.2 kB / 423.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2425, allocations: 3.938 kB / 423.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.2425, allocations: 0 / 423.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2425, allocations: 4 kB / 423.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.291e-05/0.2426, allocations: 105.2 kB / 423.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2426, allocations: 0 / 423.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.2427, allocations: 19.94 kB / 423.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2427, allocations: 0 / 423.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.2427, allocations: 0 / 423.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2427, allocations: 3.984 kB / 423.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2427, allocations: 4 kB / 423.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.2428, allocations: 123.9 kB / 423.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/0.2428, allocations: 11.94 kB / 423.4 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.2428, allocations: 4 kB / 423.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/0.2429, allocations: 4 kB / 423.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.2429, allocations: 11.92 kB / 423.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.2429, allocations: 0.875 kB / 423.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.897e-05/0.2429, allocations: 145.3 kB / 423.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2429, allocations: 0 / 423.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003576/0.2433, allocations: 175.4 kB / 423.8 MB, free: 10.54 MB / 346.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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.000595/0.2439, allocations: 434.6 kB / 424.2 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.952e-05/0.244, allocations: 35.59 kB / 424.2 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.244, allocations: 0 / 424.2 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.244, allocations: 27.61 kB / 424.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.2442, allocations: 30.48 kB / 424.3 MB, free: 10 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000498/0.2447, allocations: 271.6 kB / 424.6 MB, free: 9.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.956e-05/0.2447, allocations: 63.34 kB / 424.6 MB, free: 9.625 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.072e-05/0.2447, allocations: 17.25 kB / 424.6 MB, free: 9.613 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.2451, allocations: 90.17 kB / 424.7 MB, free: 9.523 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2451, allocations: 0 / 424.7 MB, free: 9.523 MB / 346.7 MB Notification: Performance of Templates: time 0.007078/0.2521, allocations: 6.358 MB / 431.1 MB, free: 3.23 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.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.0445305411703885]