Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.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.001275/0.001275, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001372/0.001372, allocations: 166.2 kB / 22.46 MB, free: 5.359 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.338/1.338, allocations: 158.6 MB / 184.2 MB, free: 6.402 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.04643/0.04643, allocations: 6.4 MB / 242.9 MB, free: 14.7 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.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 360.3 MB, free: 30.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.74e-05, allocations: 2.281 kB / 360.3 MB, free: 30.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001169/0.001186, allocations: 413 kB / 360.7 MB, free: 29.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 9.654e-05/0.001283, allocations: 35.89 kB / 360.7 MB, free: 29.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.00132, allocations: 0 / 360.7 MB, free: 29.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.001467, allocations: 7.938 kB / 360.7 MB, free: 29.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.733e-05/0.001554, allocations: 19.97 kB / 360.8 MB, free: 29.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.083e-05/0.001605, allocations: 15.91 kB / 360.8 MB, free: 29.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.843e-05/0.001653, allocations: 11.98 kB / 360.8 MB, free: 29.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.001699, allocations: 4 kB / 360.8 MB, free: 29.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.001734, allocations: 23.91 kB / 360.8 MB, free: 29.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.001802, allocations: 27.97 kB / 360.8 MB, free: 29.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.001818, allocations: 0 / 360.8 MB, free: 29.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.245e-05/0.00186, allocations: 7.938 kB / 360.9 MB, free: 29.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.001874, allocations: 4 kB / 360.9 MB, free: 29.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.001897, allocations: 7.984 kB / 360.9 MB, free: 29.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.389e-05/0.001981, allocations: 15.98 kB / 360.9 MB, free: 29.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.001982, allocations: 0 / 360.9 MB, free: 29.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.12e-07/0.001983, allocations: 0 / 360.9 MB, free: 29.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.001987, allocations: 0 / 360.9 MB, free: 29.5 MB / 302.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.0002228/0.00221, allocations: 254.3 kB / 361.1 MB, free: 29.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.002244, allocations: 15.98 kB / 361.1 MB, free: 29.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.002283, allocations: 0.9375 kB / 361.1 MB, free: 29.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.678e-05/0.002349, allocations: 105.8 kB / 361.2 MB, free: 29.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.002364, allocations: 4.375 kB / 361.2 MB, free: 29.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.002384, allocations: 4.375 kB / 361.3 MB, free: 29.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.197e-05/0.002466, allocations: 34.27 kB / 361.3 MB, free: 29.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.002479, allocations: 192 / 361.3 MB, free: 29.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.002487, allocations: 384 / 361.3 MB, free: 29.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.002492, allocations: 384 / 361.3 MB, free: 29.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.212e-05/0.002524, allocations: 15.86 kB / 361.3 MB, free: 29.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.809e-05/0.002622, allocations: 101.3 kB / 361.4 MB, free: 28.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.002782, allocations: 30.61 kB / 361.4 MB, free: 28.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.096e-05/0.002803, allocations: 16.92 kB / 361.4 MB, free: 28.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.002823, allocations: 0 / 361.4 MB, free: 28.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.237e-05/0.002836, allocations: 34.56 kB / 361.5 MB, free: 28.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.914e-06/0.002838, allocations: 3.984 kB / 361.5 MB, free: 28.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001343/0.002972, allocations: 57.52 kB / 361.5 MB, free: 28.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.002997, allocations: 51.41 kB / 361.6 MB, free: 28.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.171e-05/0.003049, allocations: 101.8 kB / 361.7 MB, free: 28.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.003055, allocations: 25.7 kB / 361.7 MB, free: 28.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.248e-05/0.003068, allocations: 84.14 kB / 361.8 MB, free: 28.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.003088, allocations: 7.953 kB / 361.8 MB, free: 28.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.003111, allocations: 13.72 kB / 361.8 MB, free: 28.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.644e-05/0.003157, allocations: 315 kB / 362.1 MB, free: 28.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.003179, allocations: 16.84 kB / 362.1 MB, free: 28.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.785e-05/0.003197, allocations: 17.72 kB / 362.2 MB, free: 28.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.379e-05/0.003231, allocations: 25.66 kB / 362.2 MB, free: 28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.003233, allocations: 0 / 362.2 MB, free: 28 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.027e-05/0.003293, allocations: 49.69 kB / 362.2 MB, free: 27.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.003303, allocations: 4 kB / 362.2 MB, free: 27.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.003308, allocations: 3.938 kB / 362.2 MB, free: 27.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.003323, allocations: 0 / 362.2 MB, free: 27.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.963e-05/0.003353, allocations: 11.98 kB / 362.3 MB, free: 27.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.003357, allocations: 4.031 kB / 362.3 MB, free: 27.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.003373, allocations: 7.891 kB / 362.3 MB, free: 27.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.003377, allocations: 7.938 kB / 362.3 MB, free: 27.91 MB / 302.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 8.311e-05/0.00346, allocations: 114.2 kB / 362.4 MB, free: 27.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.003469, allocations: 0 / 362.4 MB, free: 27.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.003494, allocations: 7.531 kB / 362.4 MB, free: 27.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.003495, allocations: 0 / 362.4 MB, free: 27.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.003499, allocations: 0 / 362.4 MB, free: 27.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.003503, allocations: 3.938 kB / 362.4 MB, free: 27.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.717e-05/0.00355, allocations: 105.3 kB / 362.5 MB, free: 27.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.003551, allocations: 4 kB / 362.5 MB, free: 27.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.003582, allocations: 4 kB / 362.5 MB, free: 27.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.003584, allocations: 0 / 362.5 MB, free: 27.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.003591, allocations: 0 / 362.5 MB, free: 27.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.003592, allocations: 0 / 362.5 MB, free: 27.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.003594, allocations: 4 kB / 362.5 MB, free: 27.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.374e-05/0.003687, allocations: 81.02 kB / 362.6 MB, free: 27.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-06/0.003693, allocations: 3.953 kB / 362.6 MB, free: 27.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.003705, allocations: 0 / 362.6 MB, free: 27.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.29e-05/0.003718, allocations: 4 kB / 362.6 MB, free: 27.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.00373, allocations: 64 / 362.6 MB, free: 27.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.003733, allocations: 12.38 kB / 362.6 MB, free: 27.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.793e-05/0.003751, allocations: 75.28 kB / 362.7 MB, free: 27.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.003751, allocations: 0 / 362.7 MB, free: 27.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001778/0.003929, allocations: 11.88 kB / 362.7 MB, free: 27.43 MB / 302.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.0001803/0.00411, allocations: 128.6 kB / 362.8 MB, free: 27.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.182e-05/0.004191, allocations: 28.02 kB / 362.8 MB, free: 27.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.004193, allocations: 0 / 362.8 MB, free: 27.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.609e-06/0.004202, allocations: 4 kB / 362.9 MB, free: 27.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.004328, allocations: 1.875 kB / 362.9 MB, free: 27.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/0.00454, allocations: 104.8 kB / 363 MB, free: 27.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.752e-05/0.004567, allocations: 67.34 kB / 363 MB, free: 27.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.923e-05/0.004586, allocations: 0 / 363 MB, free: 27.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.004609, allocations: 16.56 kB / 363 MB, free: 27.04 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.00461, allocations: 0 / 363 MB, free: 27.04 MB / 302.1 MB Notification: Performance of Templates: time 0.002623/0.007233, allocations: 487 kB / 363.5 MB, free: 26.58 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe >> ../files/ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.sim & ./ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.078916355967522] Failed to read output from testmodel.py, exit status != 0: 0.012869395315647125 0.022207574 0.018253918 Calling exit ...