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.001683/0.001683, allocations: 88.72 kB / 19.44 MB, free: 356 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.002306/0.002306, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.443/1.443, allocations: 158.6 MB / 184.6 MB, free: 2.5 MB / 170.7 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.04942/0.04942, allocations: 6.419 MB / 243.3 MB, free: 8.758 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.245e-06/2.245e-06, allocations: 0 / 310 MB, free: 52.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.962e-05, allocations: 3.859 kB / 310 MB, free: 52.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001238/0.001268, allocations: 396.9 kB / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000256/0.001524, allocations: 63.81 kB / 310.4 MB, free: 51.99 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.163e-05/0.001535, allocations: 0.8125 kB / 310.4 MB, free: 51.99 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.165e-05/0.001547, allocations: 0 / 310.4 MB, free: 51.99 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.782e-06/0.001554, allocations: 1.844 kB / 310.4 MB, free: 51.99 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.002016, allocations: 59.78 kB / 310.5 MB, free: 51.97 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.126e-05/0.002077, allocations: 18.03 kB / 310.5 MB, free: 51.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.002113, allocations: 5.828 kB / 310.5 MB, free: 51.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.299e-05/0.002156, allocations: 12.61 kB / 310.5 MB, free: 51.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.022e-05/0.002247, allocations: 29.2 kB / 310.6 MB, free: 51.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.002261, allocations: 0 / 310.6 MB, free: 51.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.002396, allocations: 32.31 kB / 310.6 MB, free: 51.96 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.00241, allocations: 5.094 kB / 310.6 MB, free: 51.95 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.002429, allocations: 6.391 kB / 310.6 MB, free: 51.95 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.002536, allocations: 35.25 kB / 310.6 MB, free: 51.94 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002538, allocations: 2.344 kB / 310.6 MB, free: 51.94 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.002539, allocations: 0 / 310.6 MB, free: 51.94 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.002543, allocations: 0 / 310.6 MB, free: 51.94 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.0002519/0.002795, allocations: 246 kB / 310.9 MB, free: 51.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.002833, allocations: 13.55 kB / 310.9 MB, free: 51.67 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.00288, allocations: 3.781 kB / 310.9 MB, free: 51.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.15e-05/0.002931, allocations: 104.4 kB / 311 MB, free: 51.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.002946, allocations: 5.969 kB / 311 MB, free: 51.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.002971, allocations: 8.031 kB / 311 MB, free: 51.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.415e-05/0.003065, allocations: 34.42 kB / 311 MB, free: 51.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.003079, allocations: 1.922 kB / 311 MB, free: 51.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.003087, allocations: 384 / 311 MB, free: 51.51 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.003092, allocations: 1.438 kB / 311 MB, free: 51.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.644e-05/0.003128, allocations: 14.17 kB / 311.1 MB, free: 51.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.003236, allocations: 102.6 kB / 311.2 MB, free: 51.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.003417, allocations: 36.19 kB / 311.2 MB, free: 51.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.003445, allocations: 11.88 kB / 311.2 MB, free: 51.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.003482, allocations: 2.812 kB / 311.2 MB, free: 51.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.003495, allocations: 32.72 kB / 311.2 MB, free: 51.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.003496, allocations: 0 / 311.2 MB, free: 51.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001625/0.003659, allocations: 58.39 kB / 311.3 MB, free: 51.26 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.003681, allocations: 52.53 kB / 311.3 MB, free: 51.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.82e-05/0.003699, allocations: 90.92 kB / 311.4 MB, free: 51.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.003708, allocations: 30.59 kB / 311.5 MB, free: 51.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.316e-05/0.003721, allocations: 80.14 kB / 311.5 MB, free: 50.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.003751, allocations: 18.78 kB / 311.6 MB, free: 50.97 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.003778, allocations: 18.92 kB / 311.6 MB, free: 50.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.00383, allocations: 321.4 kB / 311.9 MB, free: 50.63 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/0.003855, allocations: 9.734 kB / 311.9 MB, free: 50.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.003878, allocations: 21.91 kB / 311.9 MB, free: 50.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.412e-05/0.003932, allocations: 29.31 kB / 312 MB, free: 50.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.003934, allocations: 0.75 kB / 312 MB, free: 50.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.544e-05/0.004009, allocations: 55.11 kB / 312 MB, free: 50.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.004024, allocations: 10.08 kB / 312 MB, free: 50.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.004028, allocations: 0 / 312 MB, free: 50.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.004046, allocations: 1.406 kB / 312 MB, free: 50.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.482e-05/0.004081, allocations: 11.95 kB / 312 MB, free: 50.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.004088, allocations: 6.219 kB / 312 MB, free: 50.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/0.004105, allocations: 6.125 kB / 312 MB, free: 50.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.00412, allocations: 4.469 kB / 312 MB, free: 50.53 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 0.0001011/0.004221, allocations: 108 kB / 312.2 MB, free: 50.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.004232, allocations: 6.797 kB / 312.2 MB, free: 50.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.004342, allocations: 61.59 kB / 312.2 MB, free: 50.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.004344, allocations: 1.188 kB / 312.2 MB, free: 50.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.004348, allocations: 3.938 kB / 312.2 MB, free: 50.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.00435, allocations: 0 / 312.2 MB, free: 50.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.755e-05/0.004398, allocations: 109.9 kB / 312.3 MB, free: 50.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.004401, allocations: 3.141 kB / 312.3 MB, free: 50.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.004439, allocations: 11.08 kB / 312.3 MB, free: 50.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.00445, allocations: 0 / 312.3 MB, free: 50.22 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.004459, allocations: 2.031 kB / 312.3 MB, free: 50.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.00446, allocations: 1.125 kB / 312.3 MB, free: 50.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.004461, allocations: 0 / 312.3 MB, free: 50.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.004569, allocations: 83.97 kB / 312.4 MB, free: 50.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-06/0.004573, allocations: 0 / 312.4 MB, free: 50.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.004585, allocations: 4.859 kB / 312.4 MB, free: 50.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.004596, allocations: 0 / 312.4 MB, free: 50.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.004611, allocations: 1.359 kB / 312.4 MB, free: 50.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.004618, allocations: 3.922 kB / 312.4 MB, free: 50.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.549e-05/0.004634, allocations: 84.88 kB / 312.5 MB, free: 50.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.004634, allocations: 0 / 312.5 MB, free: 50.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001955/0.004829, allocations: 15.56 kB / 312.5 MB, free: 50.06 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.0001265/0.004956, allocations: 106.4 kB / 312.6 MB, free: 49.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.165e-05/0.005037, allocations: 18.91 kB / 312.7 MB, free: 49.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.005039, allocations: 0 / 312.7 MB, free: 49.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/0.005055, allocations: 11.83 kB / 312.7 MB, free: 49.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.005194, allocations: 3.875 kB / 312.7 MB, free: 49.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.00543, allocations: 103.7 kB / 312.8 MB, free: 49.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.897e-05/0.005459, allocations: 64.36 kB / 312.8 MB, free: 49.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.677e-05/0.005486, allocations: 5.297 kB / 312.8 MB, free: 49.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.00552, allocations: 16.98 kB / 312.9 MB, free: 49.77 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.005521, allocations: 0 / 312.9 MB, free: 49.77 MB / 282.7 MB Notification: Performance of Templates: time 0.002912/0.008433, allocations: 468.3 kB / 313.3 MB, free: 49.74 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=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.423394566052593]