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.001316/0.001316, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.00135/0.00135, allocations: 186 kB / 20.78 MB, free: 1.547 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.499/1.499, allocations: 207.6 MB / 231.4 MB, free: 3.172 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.06814/0.06814, allocations: 8.199 MB / 291.7 MB, free: 7.023 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.002159/0.002159, allocations: 71.89 kB / 408.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2951, allocations: 50.9 MB / 459.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001519/0.2967, allocations: 396.1 kB / 459.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003242/0.297, allocations: 74.38 kB / 459.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.397e-05/0.297, allocations: 0 / 459.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.297, allocations: 0 / 459.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.404e-06/0.297, allocations: 0 / 459.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.2975, allocations: 64.39 kB / 459.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.696e-05/0.2976, allocations: 20.91 kB / 459.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.2976, allocations: 3.672 kB / 459.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.404e-05/0.2976, allocations: 15.98 kB / 459.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.614e-05/0.2977, allocations: 30.67 kB / 460 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.2977, allocations: 0 / 460 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.2978, allocations: 33.25 kB / 460 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.2978, allocations: 0 / 460 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.2979, allocations: 7.375 kB / 460 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.298, allocations: 30.39 kB / 460 MB, free: 3.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.298, allocations: 0 / 460 MB, free: 3.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.298, allocations: 4 kB / 460 MB, free: 3.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.298, allocations: 0 / 460 MB, free: 3.406 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.000294/0.2983, allocations: 330 kB / 460.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2983, allocations: 6.875 kB / 460.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.2984, allocations: 6.25 kB / 460.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.942e-05/0.2984, allocations: 160.4 kB / 460.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.2984, allocations: 5.734 kB / 460.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.2985, allocations: 5.75 kB / 460.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.617e-05/0.2986, allocations: 34.38 kB / 460.6 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2986, allocations: 9.547 kB / 460.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2986, allocations: 3.938 kB / 460.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2986, allocations: 0 / 460.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.2986, allocations: 5.5 kB / 460.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.2988, allocations: 152.5 kB / 460.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.2989, allocations: 38.88 kB / 460.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.2989, allocations: 8.984 kB / 460.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.299, allocations: 6.75 kB / 460.8 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.299, allocations: 34.56 kB / 460.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.299, allocations: 0 / 460.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001369/0.2991, allocations: 55.31 kB / 460.9 MB, free: 2.465 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.2992, allocations: 56.77 kB / 460.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.402e-05/0.2992, allocations: 89.86 kB / 461 MB, free: 2.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.2992, allocations: 25.7 kB / 461.1 MB, free: 2.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.137e-05/0.2992, allocations: 81.52 kB / 461.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.2992, allocations: 17.22 kB / 461.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.2993, allocations: 17.84 kB / 461.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.2993, allocations: 314.8 kB / 461.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.534e-05/0.2993, allocations: 16.92 kB / 461.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.2994, allocations: 15.22 kB / 461.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.461e-05/0.2994, allocations: 33.89 kB / 461.5 MB, free: 1.773 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2994, allocations: 4 kB / 461.5 MB, free: 1.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.718e-05/0.2995, allocations: 50.19 kB / 461.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2995, allocations: 4.125 kB / 461.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2995, allocations: 1.375 kB / 461.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2995, allocations: 5.312 kB / 461.6 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.309e-05/0.2995, allocations: 17.42 kB / 461.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2995, allocations: 1.375 kB / 461.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.2996, allocations: 1.375 kB / 461.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.2996, allocations: 4.125 kB / 461.6 MB, free: 1.715 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.0001207/0.2997, allocations: 117.1 kB / 461.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-06/0.2997, allocations: 0 / 461.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.2998, allocations: 64.56 kB / 461.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2998, allocations: 4.031 kB / 461.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2998, allocations: 1.375 kB / 461.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2998, allocations: 4 kB / 461.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.275e-05/0.2999, allocations: 148.4 kB / 462 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2999, allocations: 5.312 kB / 462 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.2999, allocations: 9.312 kB / 462 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2999, allocations: 0 / 462 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.2999, allocations: 5.281 kB / 462 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2999, allocations: 0 / 462 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2999, allocations: 1.344 kB / 462 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.927e-05/0.3, allocations: 81.17 kB / 462.1 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.3001, allocations: 78.52 kB / 462.1 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.3001, allocations: 3.938 kB / 462.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.011e-05/0.3001, allocations: 1.656 kB / 462.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.3001, allocations: 5.391 kB / 462.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3001, allocations: 8.5 kB / 462.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.303e-05/0.3001, allocations: 75.28 kB / 462.2 MB, free: 1.066 MB / 318.1 MB Notification: Performance of sort global known variables: time 4e-08/0.3001, allocations: 0 / 462.2 MB, free: 1.066 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.3003, allocations: 11.56 kB / 462.2 MB, free: 1.062 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.0001275/0.3004, allocations: 111.9 kB / 462.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.131e-05/0.3005, allocations: 19.36 kB / 462.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3005, allocations: 0 / 462.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/0.3005, allocations: 11.2 kB / 462.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.3007, allocations: 1.625 kB / 462.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.3009, allocations: 110.8 kB / 462.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.301, allocations: 0.6761 MB / 463.2 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.025e-05/0.3011, allocations: 8.781 kB / 463.2 MB, free: 132 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.3011, allocations: 11.56 kB / 463.2 MB, free: 124 kB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3011, allocations: 0 / 463.2 MB, free: 124 kB / 318.1 MB Notification: Performance of Templates: time 0.002975/0.3041, allocations: 460.8 kB / 463.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: 4.7636838890612125]