Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.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.0009181/0.0009181, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001657/0.001657, allocations: 177 kB / 23.36 MB, free: 1.129 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.9343/0.9343, allocations: 158.6 MB / 185.2 MB, free: 2.766 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.03464/0.03464, allocations: 6.42 MB / 244 MB, free: 8.613 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.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 262.1 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/3.034e-05, allocations: 6.25 kB / 262.1 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.002206/0.002236, allocations: 473.2 kB / 262.6 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 9.788e-05/0.002334, allocations: 31.89 kB / 262.6 MB, free: 5.953 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.002366, allocations: 0 / 262.6 MB, free: 5.953 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.002525, allocations: 11.92 kB / 262.6 MB, free: 5.941 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.002636, allocations: 23.91 kB / 262.6 MB, free: 5.918 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.343e-05/0.0027, allocations: 3.984 kB / 262.7 MB, free: 5.914 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.613e-05/0.002776, allocations: 27.91 kB / 262.7 MB, free: 5.887 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.002819, allocations: 0 / 262.7 MB, free: 5.887 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.002865, allocations: 15.98 kB / 262.7 MB, free: 5.871 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.002966, allocations: 27.95 kB / 262.7 MB, free: 5.844 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.002982, allocations: 0 / 262.7 MB, free: 5.844 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.369e-05/0.003036, allocations: 8 kB / 262.7 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.003055, allocations: 0 / 262.7 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.658e-05/0.003072, allocations: 0 / 262.7 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.003184, allocations: 31.78 kB / 262.8 MB, free: 5.805 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.003186, allocations: 0 / 262.8 MB, free: 5.805 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.003187, allocations: 0 / 262.8 MB, free: 5.805 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003191, allocations: 8 kB / 262.8 MB, free: 5.797 MB / 250.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.0002339/0.003425, allocations: 216.9 kB / 263 MB, free: 5.559 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.003467, allocations: 15.98 kB / 263 MB, free: 5.543 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.003495, allocations: 0.9375 kB / 263 MB, free: 5.543 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.656e-05/0.003582, allocations: 105.8 kB / 263.1 MB, free: 5.414 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.003594, allocations: 8.375 kB / 263.1 MB, free: 5.406 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.003613, allocations: 384 / 263.1 MB, free: 5.406 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.223e-05/0.003695, allocations: 30.27 kB / 263.1 MB, free: 5.371 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.003706, allocations: 192 / 263.1 MB, free: 5.371 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.003714, allocations: 384 / 263.1 MB, free: 5.371 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.00372, allocations: 4.375 kB / 263.1 MB, free: 5.367 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.049e-05/0.003751, allocations: 15.86 kB / 263.2 MB, free: 5.352 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.003858, allocations: 57.05 kB / 263.2 MB, free: 5.281 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.00401, allocations: 30.56 kB / 263.2 MB, free: 5.242 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.00403, allocations: 12.89 kB / 263.3 MB, free: 5.227 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.004047, allocations: 0 / 263.3 MB, free: 5.227 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.004076, allocations: 34.56 kB / 263.3 MB, free: 5.184 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.004077, allocations: 0 / 263.3 MB, free: 5.184 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001065/0.004184, allocations: 41.62 kB / 263.3 MB, free: 5.137 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.004217, allocations: 51.41 kB / 263.4 MB, free: 5.074 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.077e-05/0.004277, allocations: 102.7 kB / 263.5 MB, free: 4.961 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.004291, allocations: 25.7 kB / 263.5 MB, free: 4.93 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.004317, allocations: 80.14 kB / 263.6 MB, free: 4.848 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.004347, allocations: 12.25 kB / 263.6 MB, free: 4.836 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.004381, allocations: 25.62 kB / 263.6 MB, free: 4.805 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.004483, allocations: 318.8 kB / 263.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.004506, allocations: 4.859 kB / 263.9 MB, free: 4.477 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.004529, allocations: 17.7 kB / 264 MB, free: 4.453 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.866e-05/0.004568, allocations: 21.66 kB / 264 MB, free: 4.426 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.00457, allocations: 4.125 kB / 264 MB, free: 4.422 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.091e-05/0.00464, allocations: 45.97 kB / 264 MB, free: 4.371 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.004655, allocations: 4 kB / 264 MB, free: 4.367 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.00466, allocations: 0 / 264 MB, free: 4.367 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.004677, allocations: 12.03 kB / 264 MB, free: 4.355 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.546e-05/0.004713, allocations: 11.92 kB / 264.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.004715, allocations: 0 / 264.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.981e-05/0.004735, allocations: 7.938 kB / 264.1 MB, free: 4.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.004739, allocations: 0 / 264.1 MB, free: 4.336 MB / 250.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.0001038/0.004843, allocations: 117.8 kB / 264.2 MB, free: 4.211 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.004853, allocations: 4 kB / 264.2 MB, free: 4.207 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.004887, allocations: 7.531 kB / 264.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.004889, allocations: 0 / 264.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.004891, allocations: 0 / 264.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.004895, allocations: 0 / 264.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.9e-05/0.004974, allocations: 69.83 kB / 264.3 MB, free: 4.113 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.004975, allocations: 0 / 264.3 MB, free: 4.113 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.005013, allocations: 4 kB / 264.3 MB, free: 4.109 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.005015, allocations: 4 kB / 264.3 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.005024, allocations: 0 / 264.3 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.005025, allocations: 4 kB / 264.3 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.005027, allocations: 0 / 264.3 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.005147, allocations: 72.98 kB / 264.3 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.005159, allocations: 7.953 kB / 264.3 MB, free: 4.004 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.005173, allocations: 4 kB / 264.3 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-06/0.005183, allocations: 0 / 264.3 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.005195, allocations: 0 / 264.3 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.005199, allocations: 0 / 264.3 MB, free: 4 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.174e-05/0.00521, allocations: 8.859 kB / 264.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00521, allocations: 0 / 264.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.005376, allocations: 8.109 kB / 264.4 MB, free: 3.98 MB / 250.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.0002349/0.005611, allocations: 104.2 kB / 264.5 MB, free: 3.871 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.454e-05/0.005686, allocations: 20.78 kB / 264.5 MB, free: 3.848 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.00569, allocations: 0 / 264.5 MB, free: 3.848 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.419e-05/0.005704, allocations: 13 kB / 264.5 MB, free: 3.832 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.021e-05/0.005775, allocations: 7.938 kB / 264.5 MB, free: 3.824 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002331/0.006008, allocations: 104.8 kB / 264.6 MB, free: 3.695 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.006044, allocations: 59.34 kB / 264.7 MB, free: 3.617 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.574e-05/0.006069, allocations: 7.859 kB / 264.7 MB, free: 3.609 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.006111, allocations: 51.38 kB / 264.7 MB, free: 3.559 MB / 250.7 MB Notification: Performance of SimCode: time 7.92e-07/0.006112, allocations: 0 / 264.7 MB, free: 3.559 MB / 250.7 MB Notification: Performance of Templates: time 0.002715/0.008827, allocations: 0.543 MB / 265.3 MB, free: 3.016 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe >> ../files/ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.sim & ./ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.482009676285088]