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.001074/0.001074, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002538, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001016/0.001016, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.002373, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9572/0.9572, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1851/1.142, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.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.07484/0.07484, allocations: 6.401 MB / 227.8 MB, free: 10.23 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006862/0.08171, allocations: 2.185 MB / 230 MB, free: 8.035 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 1.313e-06/1.313e-06, allocations: 0 / 231.2 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179e-05/1.311e-05, allocations: 2.312 kB / 231.2 MB, free: 6.871 MB / 234.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.0009392/0.0009523, allocations: 485.3 kB / 231.6 MB, free: 6.398 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 5.075e-05/0.001003, allocations: 35.83 kB / 231.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.024e-05/0.001013, allocations: 4 kB / 231.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.204e-05/0.001065, allocations: 11.88 kB / 231.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.001109, allocations: 19.97 kB / 231.7 MB, free: 6.328 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.399e-05/0.001133, allocations: 7.938 kB / 231.7 MB, free: 6.32 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 3.739e-05/0.001171, allocations: 19.97 kB / 231.7 MB, free: 6.301 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.79e-05/0.001189, allocations: 3.984 kB / 231.7 MB, free: 6.297 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.559e-05/0.001224, allocations: 15.98 kB / 231.8 MB, free: 6.281 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.001274, allocations: 31.89 kB / 231.8 MB, free: 6.25 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.001283, allocations: 0 / 231.8 MB, free: 6.25 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.166e-05/0.001324, allocations: 15.94 kB / 231.8 MB, free: 6.234 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.001334, allocations: 4 kB / 231.8 MB, free: 6.23 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.586e-06/0.001343, allocations: 4 kB / 231.8 MB, free: 6.227 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 5.324e-05/0.001396, allocations: 11.98 kB / 231.8 MB, free: 6.215 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.001401, allocations: 0 / 231.8 MB, free: 6.215 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.001402, allocations: 0 / 231.8 MB, free: 6.215 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.001407, allocations: 0 / 231.8 MB, free: 6.215 MB / 234.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.0001792/0.001586, allocations: 220.6 kB / 232 MB, free: 5.973 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.261e-05/0.001609, allocations: 12.03 kB / 232 MB, free: 5.961 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.782e-05/0.001627, allocations: 4.938 kB / 232.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.431e-05/0.001691, allocations: 101.8 kB / 232.2 MB, free: 5.832 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-06/0.001695, allocations: 8.312 kB / 232.2 MB, free: 5.824 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.001705, allocations: 4.375 kB / 232.2 MB, free: 5.82 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.805e-05/0.001743, allocations: 34.25 kB / 232.2 MB, free: 5.781 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.00175, allocations: 4.172 kB / 232.2 MB, free: 5.777 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-06/0.001753, allocations: 384 / 232.2 MB, free: 5.777 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-06/0.001755, allocations: 384 / 232.2 MB, free: 5.777 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.724e-05/0.001772, allocations: 7.938 kB / 232.2 MB, free: 5.77 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.279e-05/0.001825, allocations: 69.03 kB / 232.3 MB, free: 5.688 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.932e-05/0.001904, allocations: 22.58 kB / 232.3 MB, free: 5.656 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.332e-05/0.001918, allocations: 12.8 kB / 232.3 MB, free: 5.641 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.00194, allocations: 4.031 kB / 232.3 MB, free: 5.637 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.001958, allocations: 38.56 kB / 232.4 MB, free: 5.59 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 4.61e-07/0.001959, allocations: 0 / 232.4 MB, free: 5.59 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 5.442e-05/0.002013, allocations: 37.69 kB / 232.4 MB, free: 5.547 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.002036, allocations: 51.41 kB / 232.4 MB, free: 5.484 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.002096, allocations: 98.72 kB / 232.5 MB, free: 5.375 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.002108, allocations: 29.7 kB / 232.6 MB, free: 5.34 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.002134, allocations: 80.14 kB / 232.6 MB, free: 5.258 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.002154, allocations: 15.83 kB / 232.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.002179, allocations: 17.7 kB / 232.7 MB, free: 5.219 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.00227, allocations: 322.8 kB / 233 MB, free: 4.895 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.002285, allocations: 8.859 kB / 233 MB, free: 4.883 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.002306, allocations: 17.7 kB / 233 MB, free: 4.859 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.707e-05/0.002333, allocations: 25.7 kB / 233 MB, free: 4.828 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.002334, allocations: 0 / 233 MB, free: 4.828 MB / 234.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.812e-05/0.002382, allocations: 45.95 kB / 233.1 MB, free: 4.777 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.002391, allocations: 4 kB / 233.1 MB, free: 4.773 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/0.002393, allocations: 0 / 233.1 MB, free: 4.773 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.002401, allocations: 4 kB / 233.1 MB, free: 4.77 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.818e-05/0.002429, allocations: 7.938 kB / 233.1 MB, free: 4.762 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.002432, allocations: 8.031 kB / 233.1 MB, free: 4.754 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.002444, allocations: 4 kB / 233.1 MB, free: 4.75 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.002448, allocations: 7.969 kB / 233.1 MB, free: 4.742 MB / 234.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 9.448e-05/0.002543, allocations: 121.7 kB / 233.2 MB, free: 4.613 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-06/0.002549, allocations: 0 / 233.2 MB, free: 4.613 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.002573, allocations: 7.531 kB / 233.2 MB, free: 4.605 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.002575, allocations: 0 / 233.2 MB, free: 4.605 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.52e-07/0.002575, allocations: 0 / 233.2 MB, free: 4.605 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.002579, allocations: 4 kB / 233.3 MB, free: 4.602 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.27e-05/0.002631, allocations: 61.84 kB / 233.3 MB, free: 4.523 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.002634, allocations: 11.98 kB / 233.3 MB, free: 4.512 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.002655, allocations: 4 kB / 233.3 MB, free: 4.508 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-06/0.002658, allocations: 0 / 233.3 MB, free: 4.508 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.002659, allocations: 0 / 233.3 MB, free: 4.508 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.002663, allocations: 0 / 233.3 MB, free: 4.508 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.002665, allocations: 4 kB / 233.3 MB, free: 4.504 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.002666, allocations: 0 / 233.3 MB, free: 4.504 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.935e-05/0.002735, allocations: 77.03 kB / 233.4 MB, free: 4.41 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-06/0.002742, allocations: 0 / 233.4 MB, free: 4.41 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-06/0.002749, allocations: 3.938 kB / 233.4 MB, free: 4.406 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-06/0.002755, allocations: 4.031 kB / 233.4 MB, free: 4.402 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-06/0.002757, allocations: 4 kB / 233.4 MB, free: 4.398 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.214e-06/0.002764, allocations: 4.859 kB / 233.4 MB, free: 4.391 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.002764, allocations: 0 / 233.4 MB, free: 4.391 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001324/0.002896, allocations: 4 kB / 233.4 MB, free: 4.387 MB / 234.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.0001687/0.003065, allocations: 96.19 kB / 233.5 MB, free: 4.285 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 4.086e-05/0.003106, allocations: 24.89 kB / 233.5 MB, free: 4.258 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.003112, allocations: 4 kB / 233.6 MB, free: 4.254 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.349e-05/0.003125, allocations: 13.03 kB / 233.6 MB, free: 4.238 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.48e-05/0.00317, allocations: 15.89 kB / 233.6 MB, free: 4.223 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001634/0.003333, allocations: 116.7 kB / 233.7 MB, free: 4.082 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.023e-05/0.003364, allocations: 63.28 kB / 233.8 MB, free: 4 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.421e-05/0.003378, allocations: 0 / 233.8 MB, free: 4 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.003412, allocations: 55.47 kB / 233.8 MB, free: 3.945 MB / 234.7 MB Notification: Performance of SimCode: time 5.01e-07/0.003413, allocations: 0 / 233.8 MB, free: 3.945 MB / 234.7 MB Notification: Performance of Templates: time 0.001802/0.005214, allocations: 0.5289 MB / 234.3 MB, free: 3.414 MB / 234.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 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.789223092608154]