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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 116.4 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 194.1 kB / 20.08 MB, free: 2.871 MB / 14.72 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.473/1.473, allocations: 207.6 MB / 230.5 MB, free: 4.043 MB / 174.1 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.06509/0.06509, allocations: 8.199 MB / 290.5 MB, free: 8.125 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 75.89 kB / 406.3 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2927, allocations: 50.89 MB / 457.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001552/0.2943, allocations: 400.6 kB / 457.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003036/0.2946, allocations: 69.77 kB / 457.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.324e-05/0.2946, allocations: 3.938 kB / 457.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.2946, allocations: 0 / 457.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.534e-06/0.2946, allocations: 1.188 kB / 457.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.2951, allocations: 63.97 kB / 457.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.387e-05/0.2951, allocations: 21.5 kB / 457.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.2952, allocations: 1.094 kB / 457.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.611e-05/0.2952, allocations: 19.45 kB / 457.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.2953, allocations: 31.11 kB / 457.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.2953, allocations: 1.062 kB / 457.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.2954, allocations: 32.22 kB / 457.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.2954, allocations: 0.9375 kB / 457.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.2954, allocations: 1.094 kB / 457.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.93e-05/0.2955, allocations: 27.09 kB / 457.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2955, allocations: 1.125 kB / 457.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2955, allocations: 0 / 457.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.2955, allocations: 3.938 kB / 457.9 MB, free: 3.488 MB / 318.1 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.000256/0.2958, allocations: 333.9 kB / 458.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2958, allocations: 9.938 kB / 458.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.2959, allocations: 0.9375 kB / 458.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.042e-05/0.2959, allocations: 165.6 kB / 458.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2959, allocations: 384 / 458.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.296, allocations: 1.531 kB / 458.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.2961, allocations: 39.75 kB / 458.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2961, allocations: 192 / 458.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2961, allocations: 5.281 kB / 458.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2961, allocations: 0 / 458.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.434e-05/0.2961, allocations: 8.219 kB / 458.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.2962, allocations: 153.5 kB / 458.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.2964, allocations: 38.55 kB / 458.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.2965, allocations: 8.766 kB / 458.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.2965, allocations: 6.609 kB / 458.7 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.2965, allocations: 35.62 kB / 458.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2965, allocations: 0 / 458.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001445/0.2966, allocations: 58.48 kB / 458.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.2967, allocations: 52.41 kB / 458.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.027e-05/0.2967, allocations: 94.86 kB / 458.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.2967, allocations: 25.7 kB / 458.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.969e-06/0.2967, allocations: 80.14 kB / 459 MB, free: 2.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.2967, allocations: 9.969 kB / 459 MB, free: 2.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.2968, allocations: 22.09 kB / 459 MB, free: 2.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.2968, allocations: 318.8 kB / 459.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-05/0.2969, allocations: 16.48 kB / 459.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.2969, allocations: 18.94 kB / 459.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.345e-05/0.2969, allocations: 30.33 kB / 459.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2969, allocations: 1.281 kB / 459.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.838e-05/0.297, allocations: 52.27 kB / 459.5 MB, free: 1.812 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.297, allocations: 9.75 kB / 459.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.297, allocations: 1.062 kB / 459.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.297, allocations: 3.938 kB / 459.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-05/0.2971, allocations: 14.67 kB / 459.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2971, allocations: 1.094 kB / 459.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.402e-05/0.2971, allocations: 1.156 kB / 459.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.2971, allocations: 8.969 kB / 459.5 MB, free: 1.793 MB / 318.1 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.0001127/0.2972, allocations: 112.4 kB / 459.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/0.2972, allocations: 4 kB / 459.6 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.2973, allocations: 65.17 kB / 459.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2973, allocations: 0 / 459.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2973, allocations: 4 kB / 459.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2973, allocations: 3.656 kB / 459.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.508e-05/0.2974, allocations: 145.7 kB / 459.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2974, allocations: 7.188 kB / 459.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.2974, allocations: 7.406 kB / 459.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.2974, allocations: 0 / 459.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2974, allocations: 7.062 kB / 459.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.2974, allocations: 0 / 459.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2974, allocations: 0 / 459.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.162e-05/0.2975, allocations: 78.33 kB / 459.9 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.2975, allocations: 77.11 kB / 460 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.2975, allocations: 3.938 kB / 460 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.2976, allocations: 5.031 kB / 460 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.2976, allocations: 5.422 kB / 460 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2976, allocations: 4.844 kB / 460 MB, free: 1.227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.157e-05/0.2976, allocations: 75.28 kB / 460.1 MB, free: 1.152 MB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2976, allocations: 0 / 460.1 MB, free: 1.152 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.2978, allocations: 12.12 kB / 460.1 MB, free: 1.148 MB / 318.1 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.0001074/0.2979, allocations: 119.4 kB / 460.2 MB, free: 1.039 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.551e-05/0.298, allocations: 14.88 kB / 460.2 MB, free: 1.035 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.298, allocations: 1.062 kB / 460.2 MB, free: 1.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.49e-05/0.298, allocations: 13.67 kB / 460.2 MB, free: 1.027 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.2981, allocations: 0.9375 kB / 460.2 MB, free: 1.027 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002118/0.2984, allocations: 132.3 kB / 460.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.685e-05/0.2984, allocations: 0.6758 MB / 461 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.2985, allocations: 19.12 kB / 461.1 MB, free: 172 kB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2985, allocations: 1.125 kB / 461.1 MB, free: 172 kB / 318.1 MB Notification: Performance of Templates: time 0.002086/0.3006, allocations: 0.5806 MB / 461.6 MB, free: 15.88 MB / 334.1 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: 7.002184413999203] Failed to read output from testmodel.py, exit status != 0: 0.3083403050113702 0.32204675 0.023699979000000003 Calling exit ...