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.0008971/0.0008971, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009153/0.0009153, allocations: 160.3 kB / 24.91 MB, free: 8.758 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.9047/0.9047, allocations: 177 MB / 205.2 MB, free: 5.457 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.302e-06/1.302e-06, allocations: 0 / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.404e-05, allocations: 2.312 kB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001522/0.001536, allocations: 1.425 MB / 274.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.2126/0.2142, allocations: 144.3 MB / 419.1 MB, free: 15.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.2142, allocations: 4 kB / 419.1 MB, free: 15.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.2143, allocations: 0 / 419.1 MB, free: 15.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008943/0.2152, allocations: 388.3 kB / 419.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008012/0.216, allocations: 0.5368 MB / 420 MB, free: 14.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.209e-05/0.216, allocations: 79.58 kB / 420.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.135e-05/0.2161, allocations: 4 kB / 420.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.634e-05/0.2161, allocations: 43.88 kB / 420.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.501e-05/0.2162, allocations: 23.92 kB / 420.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.2162, allocations: 4 kB / 420.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.2173, allocations: 0.9385 MB / 421.1 MB, free: 13.76 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.2173, allocations: 23.92 kB / 421.1 MB, free: 13.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.2173, allocations: 23.88 kB / 421.2 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007608/0.2181, allocations: 0.7519 MB / 421.9 MB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2181, allocations: 0 / 421.9 MB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2181, allocations: 0 / 421.9 MB, free: 12.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.2181, allocations: 0 / 421.9 MB, free: 12.96 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.0004062/0.2185, allocations: 356.9 kB / 422.3 MB, free: 12.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.2185, allocations: 11.98 kB / 422.3 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002972/0.2188, allocations: 84.77 kB / 422.4 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.363e-05/0.2189, allocations: 124.5 kB / 422.5 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2189, allocations: 4.375 kB / 422.5 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.219, allocations: 8.562 kB / 422.5 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.448e-05/0.2191, allocations: 78.8 kB / 422.6 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.2191, allocations: 0 / 422.6 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.2191, allocations: 4 kB / 422.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2191, allocations: 0 / 422.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.566e-05/0.2191, allocations: 17.64 kB / 422.6 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.8e-05/0.2192, allocations: 83.5 kB / 422.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.2193, allocations: 72.47 kB / 422.7 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.2194, allocations: 17.72 kB / 422.8 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.2195, allocations: 51.94 kB / 422.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.2195, allocations: 34.55 kB / 422.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.2195, allocations: 0 / 422.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001274/0.2197, allocations: 73.48 kB / 422.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.2197, allocations: 81.11 kB / 423 MB, free: 11.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.602e-05/0.2198, allocations: 136.9 kB / 423.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.2198, allocations: 29.7 kB / 423.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.973e-05/0.2198, allocations: 88.12 kB / 423.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.2198, allocations: 19.84 kB / 423.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.2198, allocations: 17.72 kB / 423.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000307/0.2201, allocations: 322.8 kB / 423.6 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.2202, allocations: 6.828 kB / 423.6 MB, free: 11.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.712e-05/0.2202, allocations: 35.41 kB / 423.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.562e-05/0.2202, allocations: 53.02 kB / 423.7 MB, free: 10.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2202, allocations: 3.938 kB / 423.7 MB, free: 10.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.782e-05/0.2203, allocations: 75.2 kB / 423.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.2203, allocations: 4 kB / 423.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2203, allocations: 0 / 423.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2204, allocations: 7.938 kB / 423.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.991e-05/0.2204, allocations: 19.36 kB / 423.8 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.2204, allocations: 4 kB / 423.8 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.2204, allocations: 0 / 423.8 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.2204, allocations: 8.062 kB / 423.8 MB, free: 10.84 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 5.115e-05/0.2205, allocations: 120.7 kB / 423.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.2205, allocations: 8.406 kB / 423.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.545e-05/0.2206, allocations: 80.38 kB / 424 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2206, allocations: 7.938 kB / 424 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.2206, allocations: 0 / 424 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2206, allocations: 0 / 424 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.703e-05/0.2207, allocations: 77.88 kB / 424.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2207, allocations: 0 / 424.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.986e-05/0.2207, allocations: 8 kB / 424.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2207, allocations: 8 kB / 424.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-06/0.2207, allocations: 0 / 424.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.2207, allocations: 0 / 424.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2207, allocations: 0 / 424.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.2208, allocations: 118.2 kB / 424.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.2209, allocations: 11.95 kB / 424.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.2209, allocations: 0 / 424.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.673e-05/0.2209, allocations: 3.984 kB / 424.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.2209, allocations: 7.938 kB / 424.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.2209, allocations: 4 kB / 424.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.421e-05/0.2209, allocations: 33.02 kB / 424.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2209, allocations: 0 / 424.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.2212, allocations: 167.4 kB / 424.4 MB, free: 10.14 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.0005539/0.2218, allocations: 413.4 kB / 424.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.328e-05/0.2219, allocations: 37.78 kB / 424.9 MB, free: 9.684 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2219, allocations: 0 / 424.9 MB, free: 9.684 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.958e-05/0.2219, allocations: 24.78 kB / 424.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.222, allocations: 33.28 kB / 424.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.2225, allocations: 238 kB / 425.2 MB, free: 9.367 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.114e-05/0.2225, allocations: 67.28 kB / 425.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.982e-05/0.2226, allocations: 19.47 kB / 425.3 MB, free: 9.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.2226, allocations: 71.36 kB / 425.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2226, allocations: 0 / 425.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of Templates: time 0.006956/0.2296, allocations: 6.262 MB / 431.6 MB, free: 3.031 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 -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.045050477143377]