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.001866/0.001866, allocations: 78.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001894/0.001894, allocations: 170.3 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.32/1.32, allocations: 158.6 MB / 184.2 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] 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.1122/0.1122, allocations: 6.407 MB / 242.9 MB, free: 12.85 MB / 238.1 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 / 360.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.778e-05, allocations: 2.281 kB / 360.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001102/0.00113, allocations: 408.6 kB / 360.7 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000255/0.001385, allocations: 63.72 kB / 360.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.113e-05/0.001396, allocations: 0 / 360.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.001414, allocations: 0 / 360.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.062e-06/0.00142, allocations: 0 / 360.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.001801, allocations: 66.73 kB / 360.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.939e-05/0.001851, allocations: 19.97 kB / 360.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.001888, allocations: 0 / 360.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.961e-05/0.001917, allocations: 11.98 kB / 360.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.001976, allocations: 31.95 kB / 360.9 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.001989, allocations: 0 / 360.9 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.876e-05/0.002088, allocations: 31.97 kB / 360.9 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.002099, allocations: 3.938 kB / 360.9 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.442e-05/0.002113, allocations: 8 kB / 360.9 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.535e-05/0.002208, allocations: 31.89 kB / 360.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.002211, allocations: 3.984 kB / 361 MB, free: 10.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002212, allocations: 4 kB / 361 MB, free: 10.49 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.002215, allocations: 3.938 kB / 361 MB, free: 10.49 MB / 286.1 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.0002195/0.002435, allocations: 244.3 kB / 361.2 MB, free: 10.22 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.002466, allocations: 11.98 kB / 361.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.002493, allocations: 8.922 kB / 361.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.045e-05/0.002543, allocations: 101.8 kB / 361.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.002552, allocations: 384 / 361.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.002578, allocations: 8.375 kB / 361.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.656e-05/0.002674, allocations: 34.25 kB / 361.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.002686, allocations: 4.188 kB / 361.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.002695, allocations: 384 / 361.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.002698, allocations: 4.375 kB / 361.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.143e-05/0.00273, allocations: 7.938 kB / 361.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.988e-05/0.00282, allocations: 105.3 kB / 361.5 MB, free: 9.879 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.002962, allocations: 38.55 kB / 361.5 MB, free: 9.832 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.002983, allocations: 8.922 kB / 361.5 MB, free: 9.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.003011, allocations: 4 kB / 361.5 MB, free: 9.816 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.121e-05/0.003022, allocations: 30.56 kB / 361.6 MB, free: 9.777 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.003023, allocations: 0 / 361.6 MB, free: 9.777 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001312/0.003154, allocations: 57.56 kB / 361.6 MB, free: 9.715 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.003173, allocations: 59.41 kB / 361.7 MB, free: 9.645 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.11e-05/0.003194, allocations: 93.84 kB / 361.8 MB, free: 9.543 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.003202, allocations: 29.64 kB / 361.8 MB, free: 9.508 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.311e-05/0.003216, allocations: 80.14 kB / 361.9 MB, free: 9.426 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.00325, allocations: 11.91 kB / 361.9 MB, free: 9.414 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.003276, allocations: 18.22 kB / 361.9 MB, free: 9.391 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.003319, allocations: 314.8 kB / 362.2 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.003341, allocations: 12.84 kB / 362.2 MB, free: 9.059 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/0.00336, allocations: 17.91 kB / 362.2 MB, free: 9.035 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.084e-05/0.003401, allocations: 37.72 kB / 362.3 MB, free: 8.992 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.003402, allocations: 4 kB / 362.3 MB, free: 8.988 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.189e-05/0.003464, allocations: 49.69 kB / 362.3 MB, free: 8.934 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.003474, allocations: 4 kB / 362.3 MB, free: 8.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.003478, allocations: 0 / 362.3 MB, free: 8.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.003496, allocations: 0 / 362.3 MB, free: 8.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.15e-05/0.003528, allocations: 8 kB / 362.3 MB, free: 8.922 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.003533, allocations: 7.922 kB / 362.3 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.003547, allocations: 3.938 kB / 362.4 MB, free: 8.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.003561, allocations: 12 kB / 362.4 MB, free: 8.898 MB / 286.1 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.712e-05/0.003648, allocations: 109.9 kB / 362.5 MB, free: 8.781 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.003657, allocations: 3.953 kB / 362.5 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.003767, allocations: 69.12 kB / 362.5 MB, free: 8.703 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.003769, allocations: 0 / 362.5 MB, free: 8.703 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.003772, allocations: 0 / 362.5 MB, free: 8.703 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.003775, allocations: 4 kB / 362.5 MB, free: 8.699 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.989e-05/0.003815, allocations: 101.3 kB / 362.6 MB, free: 8.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.003816, allocations: 0 / 362.6 MB, free: 8.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/0.003852, allocations: 11.98 kB / 362.7 MB, free: 8.559 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.003854, allocations: 0 / 362.7 MB, free: 8.559 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.003861, allocations: 0 / 362.7 MB, free: 8.559 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.003862, allocations: 3.938 kB / 362.7 MB, free: 8.555 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.003862, allocations: 0 / 362.7 MB, free: 8.555 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.79e-05/0.00396, allocations: 85.05 kB / 362.7 MB, free: 8.453 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-06/0.003965, allocations: 4 kB / 362.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.003977, allocations: 4 kB / 362.8 MB, free: 8.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.154e-05/0.003988, allocations: 4.031 kB / 362.8 MB, free: 8.441 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.004006, allocations: 4.062 kB / 362.8 MB, free: 8.438 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.004013, allocations: 4 kB / 362.8 MB, free: 8.434 MB / 286.1 MB Notification: Performance of sorting global known variables: time 1.157e-05/0.004024, allocations: 83.2 kB / 362.8 MB, free: 8.352 MB / 286.1 MB Notification: Performance of sort global known variables: time 5e-08/0.004024, allocations: 0 / 362.8 MB, free: 8.352 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001887/0.004213, allocations: 8 kB / 362.9 MB, free: 8.344 MB / 286.1 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.0001129/0.004326, allocations: 115.1 kB / 363 MB, free: 8.223 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.31e-05/0.004399, allocations: 15.92 kB / 363 MB, free: 8.207 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.0044, allocations: 4 kB / 363 MB, free: 8.203 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/0.004413, allocations: 4 kB / 363 MB, free: 8.199 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.004537, allocations: 8.062 kB / 363 MB, free: 8.191 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001829/0.00472, allocations: 113.1 kB / 363.1 MB, free: 8.055 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.272e-05/0.004742, allocations: 55.36 kB / 363.2 MB, free: 7.98 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.794e-05/0.00478, allocations: 8 kB / 363.2 MB, free: 7.973 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.004804, allocations: 20.42 kB / 363.2 MB, free: 7.953 MB / 286.1 MB Notification: Performance of SimCode: time 4e-07/0.004805, allocations: 0 / 363.2 MB, free: 7.953 MB / 286.1 MB Notification: Performance of Templates: time 0.002596/0.0074, allocations: 453.9 kB / 363.6 MB, free: 7.516 MB / 286.1 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=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.212157357484102] Failed to read output from testmodel.py, exit status != 0: 0.013403620570898056 0.026889835 0.021599603000000002 Calling exit ...