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.001042/0.001042, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.0009823/0.0009823, allocations: 169 kB / 23.28 MB, free: 1.215 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.9367/0.9367, allocations: 158.6 MB / 185.2 MB, free: 2.773 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.03518/0.03518, allocations: 6.408 MB / 244 MB, free: 8.539 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 1.312e-06/1.312e-06, allocations: 0 / 311.1 MB, free: 51.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.704e-06/9.016e-06, allocations: 4.828 kB / 311.1 MB, free: 51.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.0008619/0.0008709, allocations: 413 kB / 311.5 MB, free: 51.6 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001755/0.001046, allocations: 60.23 kB / 311.6 MB, free: 51.56 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.04e-05/0.001057, allocations: 5.156 kB / 311.6 MB, free: 51.56 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.12e-05/0.001068, allocations: 1.156 kB / 311.6 MB, free: 51.56 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.338e-06/0.001072, allocations: 0 / 311.6 MB, free: 51.56 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.001367, allocations: 60.61 kB / 311.7 MB, free: 51.54 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.494e-05/0.001402, allocations: 23.61 kB / 311.7 MB, free: 51.54 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.432e-05/0.001426, allocations: 3.797 kB / 311.7 MB, free: 51.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.164e-05/0.001458, allocations: 14.38 kB / 311.7 MB, free: 51.53 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.001511, allocations: 33.23 kB / 311.7 MB, free: 51.53 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.326e-06/0.00152, allocations: 0 / 311.7 MB, free: 51.53 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.701e-05/0.001617, allocations: 29.89 kB / 311.8 MB, free: 51.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-06/0.001625, allocations: 0 / 311.8 MB, free: 51.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.097e-05/0.001636, allocations: 6.469 kB / 311.8 MB, free: 51.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.573e-05/0.001721, allocations: 31.08 kB / 311.8 MB, free: 51.51 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.001724, allocations: 1.375 kB / 311.8 MB, free: 51.51 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.001724, allocations: 0.9688 kB / 311.8 MB, free: 51.51 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.885e-06/0.001727, allocations: 0.9062 kB / 311.8 MB, free: 51.51 MB / 282.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.0001442/0.001871, allocations: 351.5 kB / 312.1 MB, free: 51.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.001902, allocations: 17.34 kB / 312.2 MB, free: 51.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.561e-05/0.001917, allocations: 2.875 kB / 312.2 MB, free: 51.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 2.835e-05/0.001946, allocations: 107 kB / 312.3 MB, free: 51.01 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-06/0.001952, allocations: 2.625 kB / 312.3 MB, free: 51.01 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.001964, allocations: 1.406 kB / 312.3 MB, free: 51.01 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.85e-05/0.002013, allocations: 41.92 kB / 312.3 MB, free: 50.97 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.002019, allocations: 192 / 312.3 MB, free: 50.97 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-06/0.002023, allocations: 384 / 312.3 MB, free: 50.97 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.002027, allocations: 3.5 kB / 312.3 MB, free: 50.97 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.002045, allocations: 12.77 kB / 312.3 MB, free: 50.96 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.942e-05/0.002104, allocations: 94.64 kB / 312.4 MB, free: 50.85 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.00221, allocations: 42.08 kB / 312.5 MB, free: 50.81 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/0.002224, allocations: 12.8 kB / 312.5 MB, free: 50.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.002255, allocations: 7.906 kB / 312.5 MB, free: 50.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.204e-05/0.002267, allocations: 43.73 kB / 312.5 MB, free: 50.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 5.11e-07/0.002268, allocations: 0 / 312.5 MB, free: 50.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 7.619e-05/0.002344, allocations: 45.75 kB / 312.6 MB, free: 50.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.481e-05/0.002359, allocations: 53.66 kB / 312.6 MB, free: 50.65 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.656e-05/0.002375, allocations: 142.2 kB / 312.8 MB, free: 50.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-06/0.002379, allocations: 25.7 kB / 312.8 MB, free: 50.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.24e-05/0.002392, allocations: 132.2 kB / 312.9 MB, free: 50.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.002416, allocations: 14.77 kB / 312.9 MB, free: 50.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.002438, allocations: 21.25 kB / 313 MB, free: 50.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.002482, allocations: 0.4904 MB / 313.4 MB, free: 49.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.002497, allocations: 15.84 kB / 313.5 MB, free: 49.79 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.829e-05/0.002515, allocations: 25.62 kB / 313.5 MB, free: 49.76 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.015e-05/0.002545, allocations: 28.98 kB / 313.5 MB, free: 49.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.002547, allocations: 0 / 313.5 MB, free: 49.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.413e-05/0.002591, allocations: 56.03 kB / 313.6 MB, free: 49.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.0026, allocations: 4.438 kB / 313.6 MB, free: 49.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.002604, allocations: 1.062 kB / 313.6 MB, free: 49.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/0.002612, allocations: 1.906 kB / 313.6 MB, free: 49.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.227e-05/0.002634, allocations: 7.875 kB / 313.6 MB, free: 49.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.002637, allocations: 32 / 313.6 MB, free: 49.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-06/0.002645, allocations: 5.812 kB / 313.6 MB, free: 49.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.002656, allocations: 4.656 kB / 313.6 MB, free: 49.69 MB / 282.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 5.304e-05/0.002709, allocations: 163.9 kB / 313.8 MB, free: 49.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-06/0.002714, allocations: 1.156 kB / 313.8 MB, free: 49.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.328e-05/0.002787, allocations: 58.5 kB / 313.8 MB, free: 49.47 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.002789, allocations: 5.891 kB / 313.8 MB, free: 49.47 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.002791, allocations: 0 / 313.8 MB, free: 49.47 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.002794, allocations: 0.6094 kB / 313.8 MB, free: 49.47 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.1e-05/0.002835, allocations: 113.3 kB / 313.9 MB, free: 49.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.002836, allocations: 5.312 kB / 313.9 MB, free: 49.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.002859, allocations: 6.578 kB / 313.9 MB, free: 49.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.002861, allocations: 0.7031 kB / 313.9 MB, free: 49.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.002866, allocations: 1.312 kB / 313.9 MB, free: 49.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.002868, allocations: 0.7031 kB / 313.9 MB, free: 49.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.002869, allocations: 1.375 kB / 313.9 MB, free: 49.33 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.976e-05/0.002939, allocations: 97.56 kB / 314 MB, free: 49.24 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-06/0.002943, allocations: 1.578 kB / 314 MB, free: 49.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-06/0.002951, allocations: 2.203 kB / 314 MB, free: 49.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-06/0.002956, allocations: 0 / 314 MB, free: 49.24 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.019e-05/0.002966, allocations: 3.859 kB / 314 MB, free: 49.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.002972, allocations: 4.344 kB / 314.1 MB, free: 49.24 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.147e-05/0.002983, allocations: 120.3 kB / 314.2 MB, free: 49.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002983, allocations: 0 / 314.2 MB, free: 49.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00014/0.003123, allocations: 8.281 kB / 314.2 MB, free: 49.12 MB / 282.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 9.296e-05/0.003216, allocations: 112.8 kB / 314.3 MB, free: 49.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.018e-05/0.003266, allocations: 28.91 kB / 314.3 MB, free: 49.01 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.003268, allocations: 1.281 kB / 314.3 MB, free: 49.01 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.266e-05/0.00328, allocations: 14.97 kB / 314.3 MB, free: 49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.669e-05/0.003357, allocations: 6.344 kB / 314.3 MB, free: 48.99 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001531/0.00351, allocations: 111.8 kB / 314.4 MB, free: 48.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.909e-05/0.003529, allocations: 54.59 kB / 314.5 MB, free: 48.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.227e-05/0.003552, allocations: 9.75 kB / 314.5 MB, free: 48.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.003581, allocations: 70.42 kB / 314.6 MB, free: 48.73 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.003581, allocations: 1.75 kB / 314.6 MB, free: 48.73 MB / 282.7 MB Notification: Performance of Templates: time 0.00194/0.005522, allocations: 0.5048 MB / 315.1 MB, free: 48.69 MB / 282.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 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5949785080738366]