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.000929/0.000929, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009084/0.0009084, allocations: 173 kB / 23.49 MB, free: 1.059 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.9291/0.9291, allocations: 158.6 MB / 185.3 MB, free: 2.914 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.02805/0.02805, allocations: 6.408 MB / 244 MB, free: 8.785 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.434e-06/2.434e-06, allocations: 0 / 310.7 MB, free: 52.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.711e-05, allocations: 5.406 kB / 310.7 MB, free: 52.08 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001325/0.001352, allocations: 394.7 kB / 311.1 MB, free: 51.88 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.003665, allocations: 68.77 kB / 311.2 MB, free: 51.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.003685, allocations: 1.062 kB / 311.2 MB, free: 51.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.003701, allocations: 3.938 kB / 311.2 MB, free: 51.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.273e-06/0.003708, allocations: 0 / 311.2 MB, free: 51.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.004116, allocations: 60.83 kB / 311.2 MB, free: 51.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.568e-05/0.004171, allocations: 13.97 kB / 311.2 MB, free: 51.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.00421, allocations: 3.672 kB / 311.3 MB, free: 51.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.719e-05/0.004247, allocations: 16.05 kB / 311.3 MB, free: 51.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.004322, allocations: 30.64 kB / 311.3 MB, free: 51.81 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.004335, allocations: 1.094 kB / 311.3 MB, free: 51.81 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.004455, allocations: 39.33 kB / 311.3 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.004467, allocations: 1.953 kB / 311.3 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.004484, allocations: 7.797 kB / 311.3 MB, free: 51.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.004596, allocations: 28.48 kB / 311.4 MB, free: 51.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004599, allocations: 4 kB / 311.4 MB, free: 51.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.0046, allocations: 0 / 311.4 MB, free: 51.79 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004604, allocations: 0 / 311.4 MB, free: 51.79 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.0002017/0.004806, allocations: 350 kB / 311.7 MB, free: 51.42 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.004842, allocations: 12.95 kB / 311.7 MB, free: 51.42 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.004879, allocations: 3.594 kB / 311.7 MB, free: 51.42 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.016e-05/0.004919, allocations: 106.4 kB / 311.8 MB, free: 51.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.00493, allocations: 6.312 kB / 311.8 MB, free: 51.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.00495, allocations: 1.969 kB / 311.8 MB, free: 51.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.221e-05/0.005023, allocations: 34.52 kB / 311.9 MB, free: 51.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005031, allocations: 2.891 kB / 311.9 MB, free: 51.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.005039, allocations: 384 / 311.9 MB, free: 51.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.005046, allocations: 5.375 kB / 311.9 MB, free: 51.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.834e-05/0.005074, allocations: 10.39 kB / 311.9 MB, free: 51.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.985e-05/0.005154, allocations: 112.8 kB / 312 MB, free: 51.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.005287, allocations: 41.7 kB / 312.1 MB, free: 51.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.005306, allocations: 25.73 kB / 312.1 MB, free: 51.05 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.005347, allocations: 2.812 kB / 312.1 MB, free: 51.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.005361, allocations: 35.52 kB / 312.1 MB, free: 51 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.005362, allocations: 0 / 312.1 MB, free: 51 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001179/0.00548, allocations: 54.28 kB / 312.2 MB, free: 50.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.005504, allocations: 52.62 kB / 312.2 MB, free: 50.9 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.975e-05/0.005524, allocations: 142.2 kB / 312.4 MB, free: 50.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.005531, allocations: 26.8 kB / 312.4 MB, free: 50.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.154e-05/0.005542, allocations: 126.9 kB / 312.5 MB, free: 50.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.005571, allocations: 14.64 kB / 312.5 MB, free: 50.58 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.0056, allocations: 24.91 kB / 312.5 MB, free: 50.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.881e-05/0.005639, allocations: 498.2 kB / 313 MB, free: 50.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.442e-05/0.005663, allocations: 21.86 kB / 313.1 MB, free: 50.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.809e-05/0.005681, allocations: 20.8 kB / 313.1 MB, free: 50.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.886e-05/0.00572, allocations: 34.06 kB / 313.1 MB, free: 49.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005722, allocations: 1.156 kB / 313.1 MB, free: 49.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.292e-05/0.005775, allocations: 55.12 kB / 313.2 MB, free: 49.94 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.005788, allocations: 6.594 kB / 313.2 MB, free: 49.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.005793, allocations: 5.281 kB / 313.2 MB, free: 49.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.005803, allocations: 4.031 kB / 313.2 MB, free: 49.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.779e-05/0.005831, allocations: 7.922 kB / 313.2 MB, free: 49.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.005837, allocations: 1 kB / 313.2 MB, free: 49.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.131e-05/0.005849, allocations: 5.969 kB / 313.2 MB, free: 49.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.005862, allocations: 7.531 kB / 313.2 MB, free: 49.93 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 6.765e-05/0.005929, allocations: 161.3 kB / 313.4 MB, free: 49.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-06/0.005934, allocations: 1.469 kB / 313.4 MB, free: 49.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.713e-05/0.006022, allocations: 62.34 kB / 313.4 MB, free: 49.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006023, allocations: 0 / 313.4 MB, free: 49.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.006027, allocations: 1.672 kB / 313.4 MB, free: 49.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.006029, allocations: 0 / 313.4 MB, free: 49.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.012e-05/0.006069, allocations: 117.3 kB / 313.5 MB, free: 49.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006071, allocations: 0.5625 kB / 313.5 MB, free: 49.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.006096, allocations: 6.938 kB / 313.5 MB, free: 49.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.006097, allocations: 0 / 313.5 MB, free: 49.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.006107, allocations: 5.812 kB / 313.5 MB, free: 49.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.006108, allocations: 5.094 kB / 313.6 MB, free: 49.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.006109, allocations: 4.594 kB / 313.6 MB, free: 49.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.813e-05/0.006187, allocations: 89.44 kB / 313.6 MB, free: 49.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-06/0.006193, allocations: 10.52 kB / 313.7 MB, free: 49.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.006202, allocations: 2.625 kB / 313.7 MB, free: 49.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-06/0.006209, allocations: 0.5625 kB / 313.7 MB, free: 49.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.00624, allocations: 4.922 kB / 313.7 MB, free: 49.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.006249, allocations: 4.984 kB / 313.7 MB, free: 49.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.277e-05/0.006262, allocations: 119.2 kB / 313.8 MB, free: 49.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006262, allocations: 0 / 313.8 MB, free: 49.35 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.006473, allocations: 11.34 kB / 313.8 MB, free: 49.34 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.0001382/0.006611, allocations: 118.4 kB / 313.9 MB, free: 49.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.081e-05/0.006702, allocations: 24.02 kB / 313.9 MB, free: 49.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.006704, allocations: 0 / 313.9 MB, free: 49.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.882e-05/0.006723, allocations: 19.02 kB / 314 MB, free: 49.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.00686, allocations: 6.109 kB / 314 MB, free: 49.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.007112, allocations: 110.5 kB / 314.1 MB, free: 49.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.76e-05/0.00715, allocations: 54.55 kB / 314.1 MB, free: 49.03 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.55e-05/0.007185, allocations: 8.828 kB / 314.1 MB, free: 49.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.007218, allocations: 11.81 kB / 314.1 MB, free: 49.02 MB / 282.7 MB Notification: Performance of SimCode: time 9.81e-07/0.007219, allocations: 1.25 kB / 314.1 MB, free: 49.02 MB / 282.7 MB Notification: Performance of Templates: time 0.002886/0.01011, allocations: 472.9 kB / 314.6 MB, free: 48.98 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.823687684023753]