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.001256/0.001256, allocations: 84.86 kB / 21.5 MB, free: 2.984 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.0009474/0.0009474, allocations: 163.6 kB / 24.91 MB, free: 9.195 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.9738/0.9738, allocations: 177 MB / 205.2 MB, free: 5.473 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.162e-06/1.162e-06, allocations: 0 / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.253e-05, allocations: 2.312 kB / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002243/0.002256, allocations: 1.469 MB / 274.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.2247/0.227, allocations: 144.3 MB / 419.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.227, allocations: 0 / 419.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.851e-05/0.2271, allocations: 15.86 kB / 419.2 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000934/0.228, allocations: 380.3 kB / 419.6 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008086/0.2288, allocations: 0.5056 MB / 420.1 MB, free: 14.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.154e-05/0.2289, allocations: 79.58 kB / 420.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.186e-05/0.229, allocations: 8 kB / 420.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.931e-05/0.229, allocations: 43.88 kB / 420.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.2291, allocations: 23.92 kB / 420.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.2291, allocations: 7.984 kB / 420.2 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.2304, allocations: 0.9813 MB / 421.2 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.2304, allocations: 12 kB / 421.2 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.2304, allocations: 27.91 kB / 421.3 MB, free: 13.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007698/0.2312, allocations: 0.748 MB / 422 MB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2312, allocations: 4 kB / 422 MB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2312, allocations: 0 / 422 MB, free: 12.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.2312, allocations: 0 / 422 MB, free: 12.85 MB / 378.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.0003718/0.2316, allocations: 364.8 kB / 422.4 MB, free: 12.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2316, allocations: 11.98 kB / 422.4 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002948/0.2319, allocations: 76.83 kB / 422.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.182e-05/0.232, allocations: 132.5 kB / 422.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.232, allocations: 4.375 kB / 422.6 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.232, allocations: 0.5625 kB / 422.6 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.865e-05/0.2321, allocations: 78.8 kB / 422.7 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.2321, allocations: 0 / 422.7 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.2321, allocations: 8 kB / 422.7 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2321, allocations: 0 / 422.7 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.418e-05/0.2322, allocations: 13.64 kB / 422.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.326e-05/0.2323, allocations: 87.5 kB / 422.8 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.2324, allocations: 68.48 kB / 422.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.2324, allocations: 13.72 kB / 422.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.2326, allocations: 55.94 kB / 422.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.2326, allocations: 30.56 kB / 422.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.2326, allocations: 7.984 kB / 422.9 MB, free: 11.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001338/0.2327, allocations: 65.48 kB / 423 MB, free: 11.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.2328, allocations: 81.05 kB / 423.1 MB, free: 11.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.83e-05/0.2328, allocations: 145.4 kB / 423.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.2329, allocations: 29.64 kB / 423.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.005e-05/0.2329, allocations: 80.14 kB / 423.3 MB, free: 11.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.2329, allocations: 31.83 kB / 423.4 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.2329, allocations: 13.72 kB / 423.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.463e-05/0.233, allocations: 322.8 kB / 423.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.233, allocations: 10.27 kB / 423.7 MB, free: 10.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.479e-05/0.233, allocations: 35.42 kB / 423.7 MB, free: 10.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.2331, allocations: 53 kB / 423.8 MB, free: 10.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.2331, allocations: 0 / 423.8 MB, free: 10.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.685e-05/0.2332, allocations: 75.2 kB / 423.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.2332, allocations: 4 kB / 423.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2332, allocations: 0 / 423.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2332, allocations: 7.938 kB / 423.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.068e-05/0.2332, allocations: 19.92 kB / 423.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.2332, allocations: 0 / 423.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.2333, allocations: 8 kB / 423.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-06/0.2333, allocations: 0 / 423.9 MB, free: 10.73 MB / 378.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 4.7e-05/0.2333, allocations: 112.7 kB / 424 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.2333, allocations: 15.92 kB / 424 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.832e-05/0.2334, allocations: 75.48 kB / 424.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.2334, allocations: 3.938 kB / 424.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.2334, allocations: 0 / 424.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2334, allocations: 4.547 kB / 424.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.09e-05/0.2335, allocations: 73.89 kB / 424.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2335, allocations: 0 / 424.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.293e-05/0.2335, allocations: 15.98 kB / 424.2 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.2335, allocations: 0 / 424.2 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.2335, allocations: 4 kB / 424.2 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2335, allocations: 0 / 424.2 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2335, allocations: 7.938 kB / 424.2 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.2337, allocations: 114.3 kB / 424.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.2337, allocations: 11.94 kB / 424.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.2337, allocations: 0.875 kB / 424.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.693e-05/0.2337, allocations: 8 kB / 424.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.2337, allocations: 7.922 kB / 424.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.2337, allocations: 7.938 kB / 424.4 MB, free: 10.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.412e-05/0.2338, allocations: 24.44 kB / 424.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2338, allocations: 0 / 424.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002806/0.234, allocations: 167.4 kB / 424.5 MB, free: 10.03 MB / 378.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.0005683/0.2346, allocations: 422.5 kB / 425 MB, free: 9.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.423e-05/0.2347, allocations: 28.78 kB / 425 MB, free: 9.574 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2347, allocations: 4 kB / 425 MB, free: 9.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.799e-05/0.2347, allocations: 16.67 kB / 425 MB, free: 9.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.2348, allocations: 37.33 kB / 425 MB, free: 9.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.2353, allocations: 246.9 kB / 425.3 MB, free: 9.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.732e-05/0.2353, allocations: 63.34 kB / 425.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.949e-05/0.2354, allocations: 16.17 kB / 425.4 MB, free: 9.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/0.2355, allocations: 71.3 kB / 425.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2355, allocations: 0 / 425.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of Templates: time 0.006648/0.2421, allocations: 6.257 MB / 431.7 MB, free: 2.926 MB / 378.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 -s gbode -gbm=radauIIA3 -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: 2.9271645601838827]