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.001286/0.001286, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001386/0.001386, allocations: 221.8 kB / 23 MB, free: 4.918 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.318/1.318, allocations: 207.7 MB / 233.8 MB, free: 9.809 MB / 190.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.05166/0.05166, allocations: 8.196 MB / 294.3 MB, free: 13.48 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.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.002222/0.002222, allocations: 72.67 kB / 411.6 MB, free: 46.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06585/0.06807, allocations: 50.94 MB / 462.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001442/0.06952, allocations: 393.2 kB / 463 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002734/0.06979, allocations: 63.78 kB / 463 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.103e-05/0.0698, allocations: 3.938 kB / 463 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.06982, allocations: 0 / 463 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.611e-06/0.06982, allocations: 0 / 463 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.07019, allocations: 63.88 kB / 463.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.454e-05/0.07025, allocations: 19.91 kB / 463.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.07029, allocations: 7.984 kB / 463.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.388e-05/0.07032, allocations: 11.98 kB / 463.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.07038, allocations: 31.95 kB / 463.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.07039, allocations: 0 / 463.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.0705, allocations: 27.98 kB / 463.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.07052, allocations: 3.984 kB / 463.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.542e-05/0.07053, allocations: 4 kB / 463.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.07064, allocations: 35.83 kB / 463.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.07064, allocations: 0 / 463.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.07065, allocations: 0 / 463.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.07065, allocations: 0 / 463.2 MB, free: 12.18 MB / 334.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.0003007/0.07095, allocations: 250.4 kB / 463.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.07099, allocations: 11.98 kB / 463.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.07101, allocations: 0.9375 kB / 463.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.559e-05/0.0711, allocations: 106.5 kB / 463.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.07111, allocations: 4.312 kB / 463.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.07113, allocations: 384 / 463.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.906e-05/0.07123, allocations: 38.25 kB / 463.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.07124, allocations: 4.188 kB / 463.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.07125, allocations: 3.938 kB / 463.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.07126, allocations: 4 kB / 463.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.156e-05/0.07129, allocations: 15.97 kB / 463.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.07141, allocations: 101.3 kB / 463.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.07157, allocations: 38.55 kB / 463.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.0716, allocations: 8.922 kB / 463.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.07163, allocations: 4 kB / 463.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.07166, allocations: 30.56 kB / 463.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.07166, allocations: 0 / 463.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001461/0.07181, allocations: 53.61 kB / 463.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.07184, allocations: 55.41 kB / 464 MB, free: 11.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.0719, allocations: 93.86 kB / 464 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.07192, allocations: 29.7 kB / 464.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.07195, allocations: 80.14 kB / 464.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.07198, allocations: 15.78 kB / 464.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.07201, allocations: 21.7 kB / 464.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.07216, allocations: 314.8 kB / 464.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.587e-05/0.07219, allocations: 12.8 kB / 464.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.07221, allocations: 21.7 kB / 464.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.63e-05/0.07226, allocations: 22.12 kB / 464.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.07226, allocations: 0 / 464.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.233e-05/0.07234, allocations: 57.62 kB / 464.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.07236, allocations: 8 kB / 464.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.07236, allocations: 0 / 464.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.07237, allocations: 0 / 464.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.559e-05/0.07241, allocations: 15.92 kB / 464.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.07241, allocations: 0 / 464.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.233e-05/0.07242, allocations: 0 / 464.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.07244, allocations: 4 kB / 464.6 MB, free: 10.59 MB / 334.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.0001351/0.07257, allocations: 121.7 kB / 464.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.07258, allocations: 0 / 464.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.0727, allocations: 61.23 kB / 464.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.0727, allocations: 3.938 kB / 464.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.07271, allocations: 0 / 464.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.07271, allocations: 0 / 464.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.95e-05/0.0728, allocations: 109.2 kB / 464.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.0728, allocations: 0 / 464.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.07284, allocations: 8 kB / 464.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.07284, allocations: 4.375 kB / 464.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.07285, allocations: 0 / 464.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.07285, allocations: 0 / 464.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.07285, allocations: 7.922 kB / 464.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.07298, allocations: 89.06 kB / 465 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-06/0.07298, allocations: 0 / 465 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.07299, allocations: 4 kB / 465 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.026e-05/0.073, allocations: 0 / 465 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.07302, allocations: 11.92 kB / 465 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.07303, allocations: 4 kB / 465.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.919e-05/0.07307, allocations: 79.34 kB / 465.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.07307, allocations: 0 / 465.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001902/0.07326, allocations: 11.94 kB / 465.1 MB, free: 10.02 MB / 334.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.0001269/0.07339, allocations: 107.2 kB / 465.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.614e-05/0.07347, allocations: 19.92 kB / 465.3 MB, free: 9.883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.07348, allocations: 0 / 465.3 MB, free: 9.883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.731e-05/0.07349, allocations: 11.98 kB / 465.3 MB, free: 9.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.07361, allocations: 4 kB / 465.3 MB, free: 9.867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.07385, allocations: 135.3 kB / 465.4 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.961e-05/0.0739, allocations: 63.41 kB / 465.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.07393, allocations: 15.38 kB / 465.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.07393, allocations: 0 / 465.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of Templates: time 0.002105/0.07604, allocations: 0.5964 MB / 466.1 MB, free: 9.012 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: 6.450009170919657] Failed to read output from testmodel.py, exit status != 0: 0.08298220112919807 0.098155475 0.024594751 Calling exit ...