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.0007363/0.0007363, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007771/0.0007771, allocations: 177.9 kB / 23.21 MB, free: 1.34 MB / 18.57 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 0.8313/0.8313, allocations: 158.6 MB / 185 MB, free: 3.02 MB / 170.7 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.02438/0.02438, allocations: 6.402 MB / 243.6 MB, free: 8.98 MB / 234.7 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.402e-06/1.402e-06, allocations: 0 / 361 MB, free: 3.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.756e-05, allocations: 9.875 kB / 361 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.0008745/0.0008921, allocations: 417.1 kB / 361.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 5.694e-05/0.000949, allocations: 31.89 kB / 361.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.000971, allocations: 0 / 361.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.00108, allocations: 15.92 kB / 361.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.207e-05/0.001162, allocations: 21.09 kB / 361.5 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.497e-05/0.001207, allocations: 3.938 kB / 361.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.054e-05/0.001257, allocations: 23.95 kB / 361.5 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.001294, allocations: 0 / 361.5 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.267e-05/0.001327, allocations: 15.92 kB / 361.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.483e-05/0.001382, allocations: 35.95 kB / 361.6 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.001399, allocations: 0 / 361.6 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.836e-05/0.001438, allocations: 15.94 kB / 361.6 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.00145, allocations: 0 / 361.6 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.38e-05/0.001464, allocations: 0 / 361.6 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.441e-05/0.001539, allocations: 15.98 kB / 361.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.00154, allocations: 0 / 361.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.001541, allocations: 3.938 kB / 361.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.001544, allocations: 0 / 361.6 MB, free: 3.332 MB / 282.7 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.0001699/0.001714, allocations: 246 kB / 361.9 MB, free: 3.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.001745, allocations: 11.98 kB / 361.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.001772, allocations: 4.938 kB / 361.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.448e-05/0.001816, allocations: 113.7 kB / 362 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.001825, allocations: 4.375 kB / 362 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.001843, allocations: 4.375 kB / 362 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.669e-05/0.00191, allocations: 30.27 kB / 362 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.001919, allocations: 4.188 kB / 362 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.001927, allocations: 384 / 362 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.00193, allocations: 384 / 362 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.97e-05/0.00196, allocations: 11.92 kB / 362.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.416e-05/0.002034, allocations: 101.3 kB / 362.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.002166, allocations: 34.55 kB / 362.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.002183, allocations: 16.92 kB / 362.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.002201, allocations: 4 kB / 362.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.308e-06/0.00221, allocations: 30.56 kB / 362.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.002211, allocations: 0 / 362.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001021/0.002313, allocations: 53.58 kB / 362.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.002331, allocations: 51.41 kB / 362.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.482e-05/0.002366, allocations: 97.8 kB / 362.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-06/0.002371, allocations: 29.64 kB / 362.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.695e-06/0.002378, allocations: 84.12 kB / 362.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.002398, allocations: 11.89 kB / 362.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.002416, allocations: 17.84 kB / 362.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.648e-05/0.002443, allocations: 318.8 kB / 362.9 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.00246, allocations: 8.844 kB / 362.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.516e-05/0.002475, allocations: 17.72 kB / 362.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/0.002503, allocations: 30 kB / 362.9 MB, free: 1.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.002505, allocations: 0 / 362.9 MB, free: 1.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.353e-05/0.002548, allocations: 53.61 kB / 363 MB, free: 1.785 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.002558, allocations: 8 kB / 363 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.002562, allocations: 3.938 kB / 363 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.002573, allocations: 0 / 363 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.948e-05/0.002593, allocations: 12.02 kB / 363 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.002598, allocations: 4 kB / 363 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.041e-05/0.002608, allocations: 7.891 kB / 363 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-06/0.002611, allocations: 0 / 363 MB, free: 1.75 MB / 282.7 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 7.299e-05/0.002684, allocations: 117.8 kB / 363.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-06/0.002688, allocations: 0 / 363.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.002709, allocations: 3.531 kB / 363.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.00271, allocations: 0 / 363.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.002714, allocations: 4 kB / 363.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.002717, allocations: 7.938 kB / 363.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.176e-05/0.002749, allocations: 97.31 kB / 363.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.00275, allocations: 4 kB / 363.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.808e-05/0.002768, allocations: 4 kB / 363.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.61e-07/0.002768, allocations: 0 / 363.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.002775, allocations: 8 kB / 363.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.002775, allocations: 0 / 363.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.002776, allocations: 0 / 363.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.66e-05/0.002842, allocations: 73.06 kB / 363.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.002848, allocations: 11.97 kB / 363.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.002856, allocations: 0 / 363.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.2e-06/0.002861, allocations: 8 kB / 363.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.002872, allocations: 0 / 363.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-06/0.002873, allocations: 0 / 363.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.177e-05/0.002885, allocations: 83.28 kB / 363.4 MB, free: 1.277 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002885, allocations: 0 / 363.4 MB, free: 1.277 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001195/0.003004, allocations: 11.88 kB / 363.5 MB, free: 1.266 MB / 282.7 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.0001254/0.00313, allocations: 117.3 kB / 363.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.72e-05/0.003187, allocations: 16.09 kB / 363.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.003189, allocations: 0 / 363.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.376e-06/0.003197, allocations: 20 kB / 363.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.096e-05/0.003288, allocations: 0 / 363.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001782/0.003466, allocations: 134.5 kB / 363.7 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.162e-05/0.003488, allocations: 59.34 kB / 363.8 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.003509, allocations: 12.56 kB / 363.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.003509, allocations: 4 kB / 363.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of Templates: time 0.001212/0.004721, allocations: 0.6733 MB / 364.5 MB, free: 192 kB / 282.7 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.010194728150964] Failed to read output from testmodel.py, exit status != 0: 0.008280650712549686 0.016615256000000002 0.013443954000000001 Calling exit ...