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.001057/0.001057, allocations: 93.06 kB / 19.65 MB, free: 280 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.001068/0.001068, allocations: 169 kB / 23.02 MB, free: 1.555 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.9642/0.9642, allocations: 158.6 MB / 184.9 MB, free: 2.93 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.04576/0.04576, allocations: 6.408 MB / 243.6 MB, free: 8.73 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.843e-06/1.843e-06, allocations: 0 / 310.7 MB, free: 52.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.88e-05, allocations: 4 kB / 310.7 MB, free: 52.01 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001035/0.001054, allocations: 400.9 kB / 311.1 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002958/0.00135, allocations: 62.02 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.713e-05/0.001367, allocations: 0 / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.00139, allocations: 1.844 kB / 311.1 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.955e-06/0.001398, allocations: 1.031 kB / 311.2 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.001836, allocations: 65.06 kB / 311.2 MB, free: 51.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.862e-05/0.001884, allocations: 22.56 kB / 311.2 MB, free: 51.74 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.001921, allocations: 2.656 kB / 311.2 MB, free: 51.74 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.001955, allocations: 11.83 kB / 311.3 MB, free: 51.74 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.517e-05/0.002021, allocations: 32.75 kB / 311.3 MB, free: 51.74 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.002033, allocations: 3.984 kB / 311.3 MB, free: 51.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.002145, allocations: 28.77 kB / 311.3 MB, free: 51.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.002157, allocations: 4 kB / 311.3 MB, free: 51.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.475e-05/0.002172, allocations: 1.969 kB / 311.3 MB, free: 51.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.00228, allocations: 34.72 kB / 311.4 MB, free: 51.72 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.002282, allocations: 1.875 kB / 311.4 MB, free: 51.72 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002282, allocations: 0 / 311.4 MB, free: 51.72 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.002286, allocations: 0 / 311.4 MB, free: 51.72 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.0002323/0.002519, allocations: 350.7 kB / 311.7 MB, free: 51.35 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.002555, allocations: 12.86 kB / 311.7 MB, free: 51.35 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.00259, allocations: 3.844 kB / 311.7 MB, free: 51.35 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.818e-05/0.002628, allocations: 106.7 kB / 311.8 MB, free: 51.22 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.002639, allocations: 1.719 kB / 311.8 MB, free: 51.22 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.002669, allocations: 3.391 kB / 311.8 MB, free: 51.22 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.146e-05/0.00275, allocations: 37.89 kB / 311.9 MB, free: 51.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.002761, allocations: 0.8438 kB / 311.9 MB, free: 51.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.002771, allocations: 2.875 kB / 311.9 MB, free: 51.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.002778, allocations: 2.828 kB / 311.9 MB, free: 51.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.671e-05/0.002805, allocations: 14.75 kB / 311.9 MB, free: 51.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.398e-05/0.002899, allocations: 116.4 kB / 312 MB, free: 51.03 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.003065, allocations: 37.69 kB / 312 MB, free: 51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.328e-05/0.003088, allocations: 25.34 kB / 312.1 MB, free: 50.97 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-05/0.003131, allocations: 3.703 kB / 312.1 MB, free: 50.97 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.003148, allocations: 34.92 kB / 312.1 MB, free: 50.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.00315, allocations: 2.062 kB / 312.1 MB, free: 50.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001312/0.003281, allocations: 53.08 kB / 312.1 MB, free: 50.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.787e-05/0.003299, allocations: 53.05 kB / 312.2 MB, free: 50.83 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.011e-05/0.003319, allocations: 143.1 kB / 312.3 MB, free: 50.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.003326, allocations: 26.31 kB / 312.4 MB, free: 50.64 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.205e-05/0.003338, allocations: 127.9 kB / 312.5 MB, free: 50.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.003366, allocations: 14 kB / 312.5 MB, free: 50.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.003395, allocations: 29.78 kB / 312.5 MB, free: 50.47 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.212e-05/0.003437, allocations: 498.4 kB / 313 MB, free: 49.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.383e-05/0.003461, allocations: 12.42 kB / 313 MB, free: 49.96 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.985e-05/0.003481, allocations: 25.72 kB / 313.1 MB, free: 49.94 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/0.003524, allocations: 38.16 kB / 313.1 MB, free: 49.9 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.003526, allocations: 0 / 313.1 MB, free: 49.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.609e-05/0.003582, allocations: 53.03 kB / 313.1 MB, free: 49.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.003596, allocations: 7.047 kB / 313.2 MB, free: 49.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.0036, allocations: 0 / 313.2 MB, free: 49.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.003619, allocations: 5.875 kB / 313.2 MB, free: 49.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.681e-05/0.003646, allocations: 6.844 kB / 313.2 MB, free: 49.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.003652, allocations: 5.938 kB / 313.2 MB, free: 49.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-06/0.003661, allocations: 3.938 kB / 313.2 MB, free: 49.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.003676, allocations: 6.016 kB / 313.2 MB, free: 49.86 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 7.218e-05/0.003748, allocations: 157.2 kB / 313.3 MB, free: 49.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-06/0.003754, allocations: 6.453 kB / 313.3 MB, free: 49.69 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.451e-05/0.003849, allocations: 58.44 kB / 313.4 MB, free: 49.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.003851, allocations: 3.938 kB / 313.4 MB, free: 49.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.003855, allocations: 2.844 kB / 313.4 MB, free: 49.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.003857, allocations: 0 / 313.4 MB, free: 49.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.025e-05/0.003898, allocations: 117.2 kB / 313.5 MB, free: 49.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.003899, allocations: 0 / 313.5 MB, free: 49.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.003926, allocations: 6.891 kB / 313.5 MB, free: 49.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.003928, allocations: 0 / 313.5 MB, free: 49.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.00394, allocations: 2.656 kB / 313.5 MB, free: 49.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.00394, allocations: 4 kB / 313.5 MB, free: 49.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.003942, allocations: 4.828 kB / 313.5 MB, free: 49.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.424e-05/0.004026, allocations: 95.98 kB / 313.6 MB, free: 49.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.004032, allocations: 1.953 kB / 313.6 MB, free: 49.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-06/0.004042, allocations: 0.5625 kB / 313.6 MB, free: 49.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.949e-06/0.004046, allocations: 1.219 kB / 313.6 MB, free: 49.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.004062, allocations: 5.344 kB / 313.6 MB, free: 49.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.004068, allocations: 9.469 kB / 313.6 MB, free: 49.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.302e-05/0.004082, allocations: 119.2 kB / 313.8 MB, free: 49.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004082, allocations: 0 / 313.8 MB, free: 49.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001486/0.00423, allocations: 13.12 kB / 313.8 MB, free: 49.27 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.0001135/0.004344, allocations: 113.8 kB / 313.9 MB, free: 49.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.043e-05/0.004424, allocations: 26.02 kB / 313.9 MB, free: 49.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.004425, allocations: 0 / 313.9 MB, free: 49.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/0.004438, allocations: 19.23 kB / 313.9 MB, free: 49.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.37e-05/0.004531, allocations: 3.453 kB / 313.9 MB, free: 49.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002062/0.004738, allocations: 107.7 kB / 314 MB, free: 49.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.869e-05/0.004756, allocations: 54.19 kB / 314.1 MB, free: 48.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.13e-05/0.004778, allocations: 10.31 kB / 314.1 MB, free: 48.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.004799, allocations: 11.25 kB / 314.1 MB, free: 48.95 MB / 282.7 MB Notification: Performance of SimCode: time 9.41e-07/0.004799, allocations: 0 / 314.1 MB, free: 48.95 MB / 282.7 MB Notification: Performance of Templates: time 0.002206/0.007005, allocations: 478.8 kB / 314.6 MB, free: 48.91 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.999969877768308]