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.0006668/0.0006668, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007517/0.0007517, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8158/0.8158, allocations: 158.6 MB / 185 MB, free: 3.043 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.02411/0.02411, allocations: 6.407 MB / 243.6 MB, free: 8.984 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.352e-06/1.352e-06, allocations: 0 / 361 MB, free: 3.953 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.59e-05, allocations: 2.281 kB / 361 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.0007508/0.0007667, allocations: 405 kB / 361.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002088/0.0009754, allocations: 64.91 kB / 361.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.343e-05/0.0009889, allocations: 0 / 361.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.001003, allocations: 3.938 kB / 361.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.813e-06/0.00101, allocations: 0 / 361.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.001366, allocations: 55.92 kB / 361.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.566e-05/0.001411, allocations: 11.98 kB / 361.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.001448, allocations: 7.984 kB / 361.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.063e-05/0.001479, allocations: 19.91 kB / 361.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.001533, allocations: 27.97 kB / 361.6 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.001545, allocations: 11.94 kB / 361.6 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.019e-05/0.001635, allocations: 27.97 kB / 361.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.001646, allocations: 3.984 kB / 361.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.23e-05/0.001658, allocations: 0 / 361.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.91e-05/0.001748, allocations: 35.91 kB / 361.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.001749, allocations: 0 / 361.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00175, allocations: 0 / 361.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.001753, allocations: 0 / 361.7 MB, free: 3.285 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.000181/0.001934, allocations: 250 kB / 361.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.001965, allocations: 11.98 kB / 362 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.00199, allocations: 0.9375 kB / 362 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.363e-05/0.002024, allocations: 113.8 kB / 362.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.002033, allocations: 384 / 362.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.002053, allocations: 384 / 362.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.022e-05/0.002123, allocations: 34.25 kB / 362.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.002132, allocations: 192 / 362.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.002142, allocations: 8.375 kB / 362.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.002146, allocations: 8.25 kB / 362.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.687e-05/0.002183, allocations: 7.938 kB / 362.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.514e-05/0.002258, allocations: 101.4 kB / 362.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.002391, allocations: 30.58 kB / 362.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.715e-05/0.002408, allocations: 20.91 kB / 362.3 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.002439, allocations: 0 / 362.3 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.528e-06/0.002448, allocations: 34.56 kB / 362.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 5.31e-07/0.002449, allocations: 0 / 362.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001023/0.002551, allocations: 53.56 kB / 362.4 MB, free: 2.508 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.785e-05/0.002569, allocations: 51.41 kB / 362.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.255e-05/0.002582, allocations: 93.86 kB / 362.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.501e-06/0.002587, allocations: 29.69 kB / 362.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.041e-06/0.002593, allocations: 80.14 kB / 362.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.002617, allocations: 11.91 kB / 362.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.002636, allocations: 17.72 kB / 362.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.684e-05/0.002663, allocations: 322.8 kB / 363 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.002681, allocations: 12.84 kB / 363 MB, free: 1.852 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.485e-05/0.002696, allocations: 17.72 kB / 363 MB, free: 1.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.081e-05/0.002727, allocations: 33.91 kB / 363 MB, free: 1.789 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.002729, allocations: 0 / 363 MB, free: 1.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.927e-05/0.002768, allocations: 57.62 kB / 363.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.002778, allocations: 4 kB / 363.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.002783, allocations: 4 kB / 363.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.002793, allocations: 4.031 kB / 363.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.982e-05/0.002813, allocations: 4 kB / 363.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.002818, allocations: 4 kB / 363.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-06/0.002828, allocations: 7.875 kB / 363.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.002839, allocations: 7.984 kB / 363.1 MB, free: 1.691 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.357e-05/0.002913, allocations: 109.8 kB / 363.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-06/0.002917, allocations: 3.953 kB / 363.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.171e-05/0.002999, allocations: 69.14 kB / 363.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.003001, allocations: 0 / 363.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.003004, allocations: 0 / 363.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.003008, allocations: 0 / 363.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.132e-05/0.003039, allocations: 105.2 kB / 363.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.00304, allocations: 0 / 363.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/0.003063, allocations: 15.92 kB / 363.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.003064, allocations: 0 / 363.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.003072, allocations: 4 kB / 363.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.003073, allocations: 0 / 363.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.003076, allocations: 4 kB / 363.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.757e-05/0.003144, allocations: 81.05 kB / 363.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-06/0.003148, allocations: 4.031 kB / 363.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-06/0.003156, allocations: 0 / 363.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.799e-06/0.003161, allocations: 0 / 363.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.003175, allocations: 3.938 kB / 363.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.003179, allocations: 8 kB / 363.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.365e-06/0.003187, allocations: 75.28 kB / 363.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003188, allocations: 0 / 363.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001323/0.00332, allocations: 15.98 kB / 363.6 MB, free: 1.137 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 9.766e-05/0.003418, allocations: 111.2 kB / 363.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.242e-05/0.00348, allocations: 23.98 kB / 363.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.003481, allocations: 0 / 363.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-06/0.003489, allocations: 7.938 kB / 363.7 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.828e-05/0.003578, allocations: 4 kB / 363.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001811/0.003759, allocations: 134.5 kB / 363.9 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.197e-05/0.003781, allocations: 55.36 kB / 363.9 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.003804, allocations: 16.56 kB / 363.9 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.003804, allocations: 0 / 363.9 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of Templates: time 0.001299/0.005103, allocations: 0.6024 MB / 364.5 MB, free: 136 kB / 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.119268705137074] Failed to read output from testmodel.py, exit status != 0: 0.008705311454832554 0.020338586000000002 0.016993548 Calling exit ...