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.0009614/0.0009614, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001105/0.001105, allocations: 169 kB / 23.03 MB, free: 1.543 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.9622/0.9622, allocations: 158.6 MB / 184.9 MB, free: 2.926 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.02757/0.02757, allocations: 6.409 MB / 243.6 MB, free: 8.723 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 3.617e-06/3.617e-06, allocations: 0 / 310.7 MB, free: 51.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.601e-05/3.963e-05, allocations: 4.656 kB / 310.7 MB, free: 51.97 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001601/0.00164, allocations: 401.2 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003336/0.001974, allocations: 64.5 kB / 311.1 MB, free: 51.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.666e-05/0.001991, allocations: 0 / 311.1 MB, free: 51.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.002016, allocations: 0 / 311.1 MB, free: 51.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.441e-05/0.00203, allocations: 1.219 kB / 311.2 MB, free: 51.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.002595, allocations: 71.09 kB / 311.2 MB, free: 51.71 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.002671, allocations: 17 kB / 311.2 MB, free: 51.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.00272, allocations: 5.859 kB / 311.2 MB, free: 51.7 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.605e-05/0.002766, allocations: 7.812 kB / 311.2 MB, free: 51.7 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.811e-05/0.002864, allocations: 33.72 kB / 311.3 MB, free: 51.7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.002882, allocations: 0 / 311.3 MB, free: 51.7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.003038, allocations: 37.48 kB / 311.3 MB, free: 51.69 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.003051, allocations: 0 / 311.3 MB, free: 51.69 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.003075, allocations: 1.469 kB / 311.3 MB, free: 51.69 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.003211, allocations: 29.27 kB / 311.3 MB, free: 51.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.003214, allocations: 1.219 kB / 311.4 MB, free: 51.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.003215, allocations: 0.625 kB / 311.4 MB, free: 51.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.00322, allocations: 0 / 311.4 MB, free: 51.68 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.0002859/0.003505, allocations: 355 kB / 311.7 MB, free: 51.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.003554, allocations: 13.89 kB / 311.7 MB, free: 51.31 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.003602, allocations: 3.281 kB / 311.7 MB, free: 51.31 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.005e-05/0.003662, allocations: 107.3 kB / 311.8 MB, free: 51.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.003676, allocations: 3.547 kB / 311.8 MB, free: 51.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.003704, allocations: 7.25 kB / 311.8 MB, free: 51.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.003809, allocations: 34.09 kB / 311.9 MB, free: 51.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.003821, allocations: 192 / 311.9 MB, free: 51.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.003834, allocations: 3.078 kB / 311.9 MB, free: 51.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.003844, allocations: 3.031 kB / 311.9 MB, free: 51.14 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.732e-05/0.003881, allocations: 10.53 kB / 311.9 MB, free: 51.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.004014, allocations: 113.2 kB / 312 MB, free: 51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.004225, allocations: 42.38 kB / 312 MB, free: 50.96 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.004259, allocations: 19.89 kB / 312.1 MB, free: 50.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.494e-05/0.004304, allocations: 3.766 kB / 312.1 MB, free: 50.94 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.004328, allocations: 39.98 kB / 312.1 MB, free: 50.9 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.954e-06/0.00433, allocations: 1.344 kB / 312.1 MB, free: 50.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001799/0.004509, allocations: 53.97 kB / 312.1 MB, free: 50.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.00454, allocations: 51.41 kB / 312.2 MB, free: 50.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.932e-05/0.00457, allocations: 143.1 kB / 312.3 MB, free: 50.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.004578, allocations: 27.42 kB / 312.4 MB, free: 50.61 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.509e-05/0.004593, allocations: 130.9 kB / 312.5 MB, free: 50.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.004628, allocations: 18.7 kB / 312.5 MB, free: 50.46 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.004669, allocations: 24.66 kB / 312.5 MB, free: 50.44 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.305e-05/0.004752, allocations: 498.6 kB / 313 MB, free: 49.94 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.379e-05/0.004786, allocations: 15.2 kB / 313 MB, free: 49.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.004812, allocations: 22.62 kB / 313.1 MB, free: 49.9 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.883e-05/0.004871, allocations: 38.12 kB / 313.1 MB, free: 49.87 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.004873, allocations: 0 / 313.1 MB, free: 49.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001041/0.004978, allocations: 52.78 kB / 313.1 MB, free: 49.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.004993, allocations: 5.375 kB / 313.2 MB, free: 49.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.004999, allocations: 0.6094 kB / 313.2 MB, free: 49.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.00502, allocations: 5.844 kB / 313.2 MB, free: 49.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.46e-05/0.005065, allocations: 10.81 kB / 313.2 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.005074, allocations: 6.094 kB / 313.2 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.557e-05/0.00509, allocations: 3.938 kB / 313.2 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.005108, allocations: 5.031 kB / 313.2 MB, free: 49.82 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 8.55e-05/0.005193, allocations: 159.6 kB / 313.3 MB, free: 49.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.005204, allocations: 1.906 kB / 313.3 MB, free: 49.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.005329, allocations: 58.48 kB / 313.4 MB, free: 49.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.005331, allocations: 1.375 kB / 313.4 MB, free: 49.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.005336, allocations: 0.75 kB / 313.4 MB, free: 49.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.00534, allocations: 1.375 kB / 313.4 MB, free: 49.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.655e-05/0.005397, allocations: 116.7 kB / 313.5 MB, free: 49.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.005398, allocations: 0 / 313.5 MB, free: 49.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/0.005445, allocations: 11.41 kB / 313.5 MB, free: 49.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.005447, allocations: 0 / 313.5 MB, free: 49.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.00546, allocations: 1.984 kB / 313.5 MB, free: 49.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.005462, allocations: 5.375 kB / 313.5 MB, free: 49.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.005463, allocations: 3.938 kB / 313.5 MB, free: 49.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.005589, allocations: 96.02 kB / 313.6 MB, free: 49.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-06/0.005596, allocations: 5.062 kB / 313.6 MB, free: 49.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.005608, allocations: 1.344 kB / 313.6 MB, free: 49.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.163e-05/0.005619, allocations: 0.5625 kB / 313.6 MB, free: 49.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.005638, allocations: 4.062 kB / 313.6 MB, free: 49.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.005647, allocations: 4.656 kB / 313.6 MB, free: 49.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.422e-05/0.005661, allocations: 119.2 kB / 313.8 MB, free: 49.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005661, allocations: 0 / 313.8 MB, free: 49.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.005886, allocations: 13.12 kB / 313.8 MB, free: 49.24 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 0.0001379/0.006024, allocations: 121.6 kB / 313.9 MB, free: 49.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.006124, allocations: 21.89 kB / 313.9 MB, free: 49.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.006127, allocations: 0 / 313.9 MB, free: 49.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.861e-05/0.006145, allocations: 15.44 kB / 313.9 MB, free: 49.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.006293, allocations: 7.188 kB / 313.9 MB, free: 49.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.006537, allocations: 107 kB / 314 MB, free: 49 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.653e-05/0.006563, allocations: 55.06 kB / 314.1 MB, free: 48.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.807e-05/0.006601, allocations: 9.609 kB / 314.1 MB, free: 48.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.006631, allocations: 12.53 kB / 314.1 MB, free: 48.91 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.006632, allocations: 0 / 314.1 MB, free: 48.91 MB / 282.7 MB Notification: Performance of Templates: time 0.002797/0.009429, allocations: 0.4933 MB / 314.6 MB, free: 48.87 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.8326844489201903]