Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009188/0.0009188, allocations: 80.81 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 177 kB / 23.36 MB, free: 1.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.911/0.911, allocations: 158.6 MB / 185.2 MB, free: 2.277 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03351/0.03351, allocations: 6.421 MB / 244 MB, free: 8.566 MB / 234.7 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 262.1 MB, free: 6.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.504e-05, allocations: 2.312 kB / 262.1 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001545/0.00157, allocations: 461.2 kB / 262.6 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002532/0.001824, allocations: 63.72 kB / 262.6 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.337e-05/0.001837, allocations: 0 / 262.6 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.299e-05/0.00185, allocations: 0 / 262.6 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.783e-06/0.001857, allocations: 4 kB / 262.6 MB, free: 5.891 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.002203, allocations: 59.8 kB / 262.7 MB, free: 5.832 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.194e-05/0.002254, allocations: 15.98 kB / 262.7 MB, free: 5.816 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.002292, allocations: 4.172 kB / 262.7 MB, free: 5.812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.002331, allocations: 15.97 kB / 262.7 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.801e-05/0.002399, allocations: 19.98 kB / 262.7 MB, free: 5.777 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.00241, allocations: 0 / 262.7 MB, free: 5.777 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.002542, allocations: 39.91 kB / 262.8 MB, free: 5.738 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.002552, allocations: 0 / 262.8 MB, free: 5.738 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.083e-05/0.002562, allocations: 0 / 262.8 MB, free: 5.738 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.758e-05/0.00266, allocations: 43.94 kB / 262.8 MB, free: 5.695 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002662, allocations: 0 / 262.8 MB, free: 5.695 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002662, allocations: 0 / 262.8 MB, free: 5.695 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.002665, allocations: 0 / 262.8 MB, free: 5.695 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002013/0.002867, allocations: 220.7 kB / 263 MB, free: 5.453 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.002899, allocations: 11.98 kB / 263.1 MB, free: 5.441 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.243e-05/0.002921, allocations: 0.9375 kB / 263.1 MB, free: 5.441 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.349e-05/0.002985, allocations: 113.7 kB / 263.2 MB, free: 5.305 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.002994, allocations: 384 / 263.2 MB, free: 5.305 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.003012, allocations: 8.359 kB / 263.2 MB, free: 5.297 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.439e-05/0.003076, allocations: 34.25 kB / 263.2 MB, free: 5.258 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.003084, allocations: 4.188 kB / 263.2 MB, free: 5.254 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.00309, allocations: 384 / 263.2 MB, free: 5.254 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.003097, allocations: 4.375 kB / 263.2 MB, free: 5.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.915e-05/0.003116, allocations: 3.938 kB / 263.2 MB, free: 5.246 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.34e-05/0.003199, allocations: 60.98 kB / 263.3 MB, free: 5.172 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.003319, allocations: 34.55 kB / 263.3 MB, free: 5.129 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.003338, allocations: 16.84 kB / 263.3 MB, free: 5.109 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.003363, allocations: 0 / 263.3 MB, free: 5.109 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.003383, allocations: 34.56 kB / 263.4 MB, free: 5.066 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.003384, allocations: 4 kB / 263.4 MB, free: 5.062 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 8.633e-05/0.00347, allocations: 41.62 kB / 263.4 MB, free: 5.016 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.003501, allocations: 55.41 kB / 263.5 MB, free: 4.949 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.193e-05/0.003533, allocations: 89.86 kB / 263.6 MB, free: 4.852 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.003543, allocations: 29.64 kB / 263.6 MB, free: 4.816 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.017e-05/0.003563, allocations: 80.14 kB / 263.7 MB, free: 4.734 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.003592, allocations: 12.25 kB / 263.7 MB, free: 4.723 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.003626, allocations: 21.69 kB / 263.7 MB, free: 4.695 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.003708, allocations: 318.8 kB / 264 MB, free: 4.375 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.003727, allocations: 4.859 kB / 264 MB, free: 4.367 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.006e-05/0.003747, allocations: 21.88 kB / 264 MB, free: 4.34 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.729e-05/0.003785, allocations: 25.7 kB / 264.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.003787, allocations: 0 / 264.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.341e-05/0.00385, allocations: 49.61 kB / 264.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.003863, allocations: 8 kB / 264.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.003868, allocations: 0 / 264.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.00388, allocations: 0 / 264.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.517e-05/0.003915, allocations: 16 kB / 264.1 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.003918, allocations: 0 / 264.1 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.003931, allocations: 0 / 264.1 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.003943, allocations: 8.031 kB / 264.1 MB, free: 4.223 MB / 250.7 MB Warning: Assuming fixed start value for the following 1 variables: z:VARIABLE(fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 8.33e-05/0.004026, allocations: 121.7 kB / 264.3 MB, free: 4.094 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-06/0.004033, allocations: 0 / 264.3 MB, free: 4.094 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.486e-05/0.004117, allocations: 49.22 kB / 264.3 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.004119, allocations: 0 / 264.3 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.004121, allocations: 0 / 264.3 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.004125, allocations: 7.984 kB / 264.3 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.988e-05/0.004185, allocations: 65.84 kB / 264.4 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.004186, allocations: 0 / 264.4 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.004263, allocations: 4 kB / 264.4 MB, free: 3.945 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.004265, allocations: 0 / 264.4 MB, free: 3.945 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.004272, allocations: 4 kB / 264.4 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.004276, allocations: 3.984 kB / 264.4 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.004277, allocations: 0 / 264.4 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.273e-05/0.00436, allocations: 73 kB / 264.5 MB, free: 3.848 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-06/0.004365, allocations: 0 / 264.5 MB, free: 3.848 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.004375, allocations: 8.031 kB / 264.5 MB, free: 3.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-06/0.004384, allocations: 7.922 kB / 264.5 MB, free: 3.832 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.004395, allocations: 0 / 264.5 MB, free: 3.832 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.004402, allocations: 4 kB / 264.5 MB, free: 3.828 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.963e-06/0.004409, allocations: 4.859 kB / 264.5 MB, free: 3.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.004409, allocations: 0 / 264.5 MB, free: 3.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000164/0.004573, allocations: 11.94 kB / 264.5 MB, free: 3.809 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (z) * 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 (3): * Single equations (assignments): 3 * 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.0001097/0.004683, allocations: 96.39 kB / 264.6 MB, free: 3.707 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.411e-05/0.004737, allocations: 21.02 kB / 264.6 MB, free: 3.684 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.004739, allocations: 64 / 264.6 MB, free: 3.684 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.095e-05/0.00475, allocations: 12.95 kB / 264.6 MB, free: 3.668 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.489e-05/0.004805, allocations: 7.938 kB / 264.6 MB, free: 3.66 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001739/0.004979, allocations: 104.8 kB / 264.7 MB, free: 3.531 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.587e-05/0.005005, allocations: 59.34 kB / 264.8 MB, free: 3.453 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.81e-05/0.005033, allocations: 8 kB / 264.8 MB, free: 3.445 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.005069, allocations: 51.38 kB / 264.8 MB, free: 3.395 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.005069, allocations: 0 / 264.8 MB, free: 3.395 MB / 250.7 MB Notification: Performance of Templates: time 0.002144/0.007213, allocations: 0.5002 MB / 265.3 MB, free: 2.895 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe >> ../files/ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.sim & ./ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.3957052333280444]