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.001741/0.001741, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.002175/0.002175, allocations: 217.1 kB / 23.01 MB, free: 4.609 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.507/1.507, allocations: 207.6 MB / 233.8 MB, free: 9.996 MB / 190.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.05548/0.05548, allocations: 8.198 MB / 294.2 MB, free: 13.65 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.002329/0.002329, allocations: 73.06 kB / 411.7 MB, free: 46.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06507/0.0674, allocations: 50.93 MB / 462.6 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.00145/0.06885, allocations: 405.1 kB / 463 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002776/0.06913, allocations: 67.77 kB / 463.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.096e-05/0.06914, allocations: 0 / 463.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.06916, allocations: 0 / 463.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.971e-06/0.06916, allocations: 4 kB / 463.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.06958, allocations: 67.22 kB / 463.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.632e-05/0.06964, allocations: 15.98 kB / 463.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.06968, allocations: 0 / 463.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.06971, allocations: 23.91 kB / 463.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.06978, allocations: 27.97 kB / 463.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.867e-06/0.06979, allocations: 0 / 463.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.0699, allocations: 31.97 kB / 463.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.06991, allocations: 3.984 kB / 463.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.728e-05/0.06993, allocations: 8 kB / 463.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.99e-05/0.07003, allocations: 27.84 kB / 463.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.07003, allocations: 4 kB / 463.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.07003, allocations: 0 / 463.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.07004, allocations: 0 / 463.3 MB, free: 12.33 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.0003234/0.07036, allocations: 242.4 kB / 463.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.07039, allocations: 15.98 kB / 463.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.07042, allocations: 4.938 kB / 463.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.506e-05/0.0705, allocations: 102.5 kB / 463.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.07052, allocations: 4.375 kB / 463.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.07054, allocations: 4.375 kB / 463.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.07065, allocations: 42.19 kB / 463.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.07066, allocations: 192 / 463.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.07067, allocations: 3.938 kB / 463.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.07067, allocations: 3.938 kB / 463.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.07071, allocations: 11.98 kB / 463.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.07085, allocations: 124.8 kB / 463.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.07102, allocations: 30.58 kB / 463.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.044e-05/0.07105, allocations: 16.84 kB / 463.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.07109, allocations: 4 kB / 463.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.07113, allocations: 30.56 kB / 463.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.07113, allocations: 0 / 463.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000145/0.07127, allocations: 53.62 kB / 463.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.07131, allocations: 51.41 kB / 464 MB, free: 11.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.916e-05/0.07136, allocations: 97.86 kB / 464.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.07138, allocations: 25.7 kB / 464.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.07141, allocations: 84.12 kB / 464.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.07144, allocations: 11.91 kB / 464.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.07148, allocations: 17.72 kB / 464.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.0716, allocations: 310.8 kB / 464.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-05/0.07164, allocations: 16.78 kB / 464.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.07166, allocations: 17.72 kB / 464.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.546e-05/0.07172, allocations: 34.33 kB / 464.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.07172, allocations: 0 / 464.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.999e-05/0.07181, allocations: 57.61 kB / 464.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.07183, allocations: 8 kB / 464.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.07184, allocations: 0 / 464.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.07187, allocations: 3.938 kB / 464.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.543e-05/0.0719, allocations: 8 kB / 464.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.07191, allocations: 0 / 464.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.07192, allocations: 4.031 kB / 464.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.07195, allocations: 11.98 kB / 464.7 MB, free: 10.71 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.0001237/0.07207, allocations: 113.8 kB / 464.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.07208, allocations: 0 / 464.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.07221, allocations: 69.08 kB / 464.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.07221, allocations: 0 / 464.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.07221, allocations: 0 / 464.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.07221, allocations: 0 / 464.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.07232, allocations: 132.7 kB / 465 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.07232, allocations: 0 / 465 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.07236, allocations: 4 kB / 465 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.07236, allocations: 4 kB / 465 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.07237, allocations: 3.938 kB / 465 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.07238, allocations: 4 kB / 465 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.07238, allocations: 0 / 465 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.0725, allocations: 85.05 kB / 465.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.07251, allocations: 7.969 kB / 465.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.07252, allocations: 3.938 kB / 465.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.117e-05/0.07253, allocations: 0 / 465.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.07255, allocations: 3.984 kB / 465.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.07256, allocations: 4 kB / 465.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.239e-05/0.07259, allocations: 75.28 kB / 465.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.07259, allocations: 4.062 kB / 465.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.07282, allocations: 12 kB / 465.2 MB, free: 10.11 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.0001256/0.07295, allocations: 107.2 kB / 465.3 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.293e-05/0.07304, allocations: 19.92 kB / 465.3 MB, free: 9.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.07304, allocations: 0 / 465.3 MB, free: 9.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.908e-05/0.07306, allocations: 15.92 kB / 465.3 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.07319, allocations: 0 / 465.3 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.07348, allocations: 139.4 kB / 465.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.07376, allocations: 0.6729 MB / 466.2 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.0738, allocations: 15.42 kB / 466.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.0738, allocations: 0 / 466.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of Templates: time 0.002286/0.07608, allocations: 0.5966 MB / 466.8 MB, free: 8.48 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.2607639690395445] Failed to read output from testmodel.py, exit status != 0: 0.08295135293155909 0.098907695 0.025801174000000003 Calling exit ...