Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegral.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.0008644/0.0008644, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.002016, 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.00091/0.00091, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.002052, 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.9762/0.9762, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08419/1.06, allocations: 53.86 MB / 243.7 MB, free: 14.9 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.Math.Nonlinear.Examples.MovingIntegral,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegral") translateModel(Modelica.Math.Nonlinear.Examples.MovingIntegral,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegral") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.832e-05/1.981e-05, allocations: 5.266 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.MovingIntegral): time 0.00203/0.00205, allocations: 1.457 MB / 246.5 MB, free: 12.17 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.003033, allocations: 0.7289 MB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.003068, allocations: 0 / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.187e-05/0.00308, allocations: 3.984 kB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005355/0.003616, allocations: 191.2 kB / 247.4 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.246e-05/0.003628, allocations: 3.938 kB / 247.4 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.455e-05/0.003723, allocations: 107.6 kB / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.297e-05/0.003756, allocations: 7.875 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.003908, allocations: 91.88 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.003977, allocations: 51.86 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.003992, allocations: 4 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.004246, allocations: 143.6 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.004261, allocations: 7.938 kB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.004286, allocations: 12 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.004465, allocations: 127.6 kB / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.004476, allocations: 0 / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004477, allocations: 4 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.004491, allocations: 0 / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003987/0.004889, allocations: 300.2 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.004919, allocations: 8.625 kB / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.00495, allocations: 8.922 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.005083, allocations: 138.4 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.005094, allocations: 8.375 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.005113, allocations: 4.312 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.00522, allocations: 62.2 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.005227, allocations: 192 / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.005236, allocations: 8.375 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.005242, allocations: 3.938 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.916e-05/0.005321, allocations: 51.94 kB / 248.5 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001063/0.005428, allocations: 76.94 kB / 248.6 MB, free: 9.965 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.449e-05/0.005512, allocations: 62.53 kB / 248.7 MB, free: 9.895 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.005537, allocations: 12.86 kB / 248.7 MB, free: 9.879 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.005549, allocations: 4 kB / 248.7 MB, free: 9.875 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.005569, allocations: 34.56 kB / 248.7 MB, free: 9.832 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.00557, allocations: 3.938 kB / 248.7 MB, free: 9.828 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001388/0.005709, allocations: 77.88 kB / 248.8 MB, free: 9.746 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.00577, allocations: 59.41 kB / 248.9 MB, free: 9.676 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.773e-05/0.005828, allocations: 114.7 kB / 249 MB, free: 9.551 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.00584, allocations: 29.7 kB / 249 MB, free: 9.516 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.858e-05/0.005858, allocations: 84.08 kB / 249.1 MB, free: 9.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.005892, allocations: 35.69 kB / 249.1 MB, free: 9.395 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.00593, allocations: 29.7 kB / 249.1 MB, free: 9.359 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.005998, allocations: 318.8 kB / 249.5 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.006016, allocations: 8 kB / 249.5 MB, free: 9.031 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.006039, allocations: 23.92 kB / 249.5 MB, free: 9.008 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/0.006088, allocations: 32.84 kB / 249.5 MB, free: 8.973 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.00609, allocations: 0 / 249.5 MB, free: 8.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.071e-05/0.00617, allocations: 73.61 kB / 249.6 MB, free: 8.895 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.006182, allocations: 8 kB / 249.6 MB, free: 8.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006186, allocations: 0 / 249.6 MB, free: 8.887 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-06/0.006193, allocations: 0 / 249.6 MB, free: 8.887 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.006315, allocations: 39.91 kB / 249.6 MB, free: 8.848 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.006317, allocations: 0 / 249.6 MB, free: 8.848 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.006361, allocations: 11.92 kB / 249.6 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.006369, allocations: 4 kB / 249.7 MB, free: 8.832 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * 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 0.000139/0.006508, allocations: 121.8 kB / 249.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.00652, allocations: 4 kB / 249.8 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.006722, allocations: 145.9 kB / 249.9 MB, free: 8.551 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.006724, allocations: 0 / 249.9 MB, free: 8.551 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006726, allocations: 4 kB / 249.9 MB, free: 8.547 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.006729, allocations: 3.938 kB / 249.9 MB, free: 8.543 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.367e-05/0.006813, allocations: 93.88 kB / 250 MB, free: 8.434 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.006814, allocations: 0 / 250 MB, free: 8.434 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.006928, allocations: 39.98 kB / 250.1 MB, free: 8.395 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.006959, allocations: 23.83 kB / 250.1 MB, free: 8.371 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006961, allocations: 4 kB / 250.1 MB, free: 8.367 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.006975, allocations: 4 kB / 250.1 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.006979, allocations: 4.312 kB / 250.1 MB, free: 8.359 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.00698, allocations: 0 / 250.1 MB, free: 8.359 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.007138, allocations: 156.1 kB / 250.2 MB, free: 8.191 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.007152, allocations: 4 kB / 250.2 MB, free: 8.188 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.007191, allocations: 4 kB / 250.3 MB, free: 8.184 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.007208, allocations: 11.98 kB / 250.3 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.007215, allocations: 4 kB / 250.3 MB, free: 8.168 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.105e-05/0.007236, allocations: 24.81 kB / 250.3 MB, free: 8.141 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007236, allocations: 0 / 250.3 MB, free: 8.141 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001583/0.007394, allocations: 43.94 kB / 250.3 MB, free: 8.098 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (xi) * 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 (17): * Single equations (assignments): 17 * 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.0001797/0.007574, allocations: 140.2 kB / 250.5 MB, free: 7.953 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.705e-05/0.007671, allocations: 76.59 kB / 250.5 MB, free: 7.875 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.007676, allocations: 4 kB / 250.5 MB, free: 7.871 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.007712, allocations: 40.78 kB / 250.6 MB, free: 7.828 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.007828, allocations: 36.28 kB / 250.6 MB, free: 7.793 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009638/0.008792, allocations: 228.4 kB / 250.8 MB, free: 7.543 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.082e-05/0.008823, allocations: 63.34 kB / 250.9 MB, free: 7.461 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.585e-05/0.008918, allocations: 48.67 kB / 251 MB, free: 7.41 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.426e-05/0.009013, allocations: 75.36 kB / 251 MB, free: 7.336 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009013, allocations: 0 / 251 MB, free: 7.336 MB / 250.7 MB Notification: Performance of Templates: time 0.004389/0.0134, allocations: 2.666 MB / 253.7 MB, free: 4.684 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegral.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegral.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegral.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegral.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegral.sim & ./Modelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegral -abortSlowSimulation -alarm=240 -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegral.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.507702932693064]