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.001297/0.001297, allocations: 110.9 kB / 17.08 MB, free: 6.008 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.00134/0.00134, allocations: 189.2 kB / 20.03 MB, free: 3.078 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.391/1.391, allocations: 205.1 MB / 227.9 MB, free: 4.406 MB / 174.1 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.05147/0.05147, allocations: 8.114 MB / 285.4 MB, free: 11 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.002349/0.002349, allocations: 71.89 kB / 396 MB, free: 6.824 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2303, allocations: 48.31 MB / 444.3 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001493/0.2318, allocations: 396 kB / 444.7 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000269/0.2321, allocations: 69.3 kB / 444.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.2321, allocations: 0 / 444.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.2322, allocations: 0 / 444.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.2322, allocations: 0 / 444.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.2326, allocations: 63.88 kB / 444.9 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.882e-05/0.2326, allocations: 17.81 kB / 444.9 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.2327, allocations: 6.656 kB / 444.9 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.626e-05/0.2327, allocations: 22.03 kB / 444.9 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.475e-05/0.2328, allocations: 24.55 kB / 444.9 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.2328, allocations: 0 / 444.9 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.2329, allocations: 32.66 kB / 445 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.2329, allocations: 9.047 kB / 445 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.233, allocations: 1.922 kB / 445 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.2331, allocations: 27.88 kB / 445 MB, free: 8.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2331, allocations: 1.281 kB / 445 MB, free: 8.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2331, allocations: 0 / 445 MB, free: 8.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.2331, allocations: 0 / 445 MB, free: 8.434 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.0002412/0.2333, allocations: 329.5 kB / 445.3 MB, free: 8.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2334, allocations: 11.11 kB / 445.3 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.2334, allocations: 0.9375 kB / 445.3 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.247e-05/0.2335, allocations: 163.2 kB / 445.5 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2335, allocations: 384 / 445.5 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.2335, allocations: 1.594 kB / 445.5 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.708e-05/0.2336, allocations: 38.7 kB / 445.5 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2336, allocations: 0.8906 kB / 445.5 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2336, allocations: 5.5 kB / 445.5 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2336, allocations: 0 / 445.5 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.299e-05/0.2337, allocations: 13.47 kB / 445.6 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001012/0.2338, allocations: 152.7 kB / 445.7 MB, free: 7.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.234, allocations: 34.12 kB / 445.7 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/0.234, allocations: 11.39 kB / 445.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.234, allocations: 2.859 kB / 445.8 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.234, allocations: 36.36 kB / 445.8 MB, free: 7.566 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2341, allocations: 4 kB / 445.8 MB, free: 7.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001354/0.2342, allocations: 51.58 kB / 445.8 MB, free: 7.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.2342, allocations: 57.42 kB / 445.9 MB, free: 7.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.571e-05/0.2342, allocations: 89.86 kB / 446 MB, free: 7.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.2343, allocations: 26.77 kB / 446 MB, free: 7.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.895e-06/0.2343, allocations: 80.14 kB / 446.1 MB, free: 7.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.2343, allocations: 11.78 kB / 446.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.2343, allocations: 22.12 kB / 446.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.2344, allocations: 316.5 kB / 446.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.2344, allocations: 13.61 kB / 446.4 MB, free: 6.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.2344, allocations: 20.89 kB / 446.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.923e-05/0.2345, allocations: 32.78 kB / 446.5 MB, free: 6.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2345, allocations: 0.9375 kB / 446.5 MB, free: 6.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.476e-05/0.2346, allocations: 49.3 kB / 446.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2346, allocations: 13.88 kB / 446.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.2346, allocations: 4.516 kB / 446.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2346, allocations: 9.062 kB / 446.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.67e-05/0.2347, allocations: 8.156 kB / 446.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2347, allocations: 1.375 kB / 446.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.2347, allocations: 4 kB / 446.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.2347, allocations: 5.672 kB / 446.6 MB, free: 6.781 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.0001039/0.2348, allocations: 114.1 kB / 446.7 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-06/0.2348, allocations: 0 / 446.7 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.2349, allocations: 71.19 kB / 446.8 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.235, allocations: 1.25 kB / 446.8 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.235, allocations: 0.8906 kB / 446.8 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.235, allocations: 0 / 446.8 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.32e-05/0.235, allocations: 151.9 kB / 446.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.235, allocations: 1.25 kB / 446.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.2351, allocations: 10.69 kB / 446.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2351, allocations: 0.6562 kB / 446.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.2351, allocations: 5.844 kB / 446.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2351, allocations: 0 / 446.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2351, allocations: 1.281 kB / 446.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.904e-05/0.2352, allocations: 76.09 kB / 447 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.2353, allocations: 78.05 kB / 447.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.2353, allocations: 6 kB / 447.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.2353, allocations: 4.062 kB / 447.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.2353, allocations: 4.734 kB / 447.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-06/0.2353, allocations: 8.844 kB / 447.1 MB, free: 6.234 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.002e-05/0.2353, allocations: 75.28 kB / 447.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2353, allocations: 0 / 447.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002072/0.2355, allocations: 11.78 kB / 447.2 MB, free: 6.156 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.0001184/0.2357, allocations: 109.9 kB / 447.3 MB, free: 6.059 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.624e-05/0.2358, allocations: 19.14 kB / 447.3 MB, free: 6.055 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2358, allocations: 4.062 kB / 447.3 MB, free: 6.051 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.816e-05/0.2358, allocations: 12.5 kB / 447.3 MB, free: 6.047 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.2359, allocations: 1.219 kB / 447.3 MB, free: 6.047 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001896/0.2361, allocations: 128.3 kB / 447.5 MB, free: 5.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.116e-05/0.2362, allocations: 0.6748 MB / 448.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.2363, allocations: 15.88 kB / 448.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2363, allocations: 0 / 448.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of Templates: time 0.001995/0.2383, allocations: 0.5933 MB / 448.8 MB, free: 5.16 MB / 318.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: 6.487610832089558] Failed to read output from testmodel.py, exit status != 0: 0.24523070896975696 0.25613208699999995 0.020414899 Calling exit ...