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.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.001626/0.001626, allocations: 117.9 kB / 17.13 MB, free: 5.758 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.001881/0.001881, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.524/1.524, allocations: 207.6 MB / 230.5 MB, free: 4.047 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.05287/0.05287, allocations: 8.211 MB / 290.5 MB, free: 8.121 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.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: 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.0023/0.0023, allocations: 71.89 kB / 406.3 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2684, allocations: 50.9 MB / 457.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001552/0.27, allocations: 414.6 kB / 457.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001244/0.2701, allocations: 43.83 kB / 457.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.2701, allocations: 1.094 kB / 457.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.2702, allocations: 5.094 kB / 457.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.084e-05/0.2703, allocations: 29.27 kB / 457.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.933e-05/0.2704, allocations: 2.094 kB / 457.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.024e-05/0.2705, allocations: 26.28 kB / 457.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/0.2705, allocations: 0.875 kB / 457.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.516e-05/0.2705, allocations: 15.14 kB / 457.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.2706, allocations: 31.33 kB / 457.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.2706, allocations: 1.312 kB / 457.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.228e-05/0.2707, allocations: 5.125 kB / 457.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.2707, allocations: 5.219 kB / 457.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.2707, allocations: 13.05 kB / 457.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.4e-05/0.2708, allocations: 14.77 kB / 457.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2708, allocations: 7.984 kB / 457.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.2708, allocations: 1 kB / 457.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2708, allocations: 0 / 457.8 MB, free: 3.512 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.0002749/0.2711, allocations: 317.7 kB / 458.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.2711, allocations: 12.58 kB / 458.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.2711, allocations: 6.172 kB / 458.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.497e-05/0.2712, allocations: 161.5 kB / 458.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.2712, allocations: 1.531 kB / 458.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.2712, allocations: 9.344 kB / 458.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.812e-05/0.2713, allocations: 39.09 kB / 458.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2713, allocations: 192 / 458.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.2714, allocations: 3.938 kB / 458.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2714, allocations: 1.062 kB / 458.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.54e-05/0.2714, allocations: 7.375 kB / 458.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.2715, allocations: 151.8 kB / 458.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.2717, allocations: 29.52 kB / 458.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.2717, allocations: 17.19 kB / 458.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.2717, allocations: 0 / 458.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.2717, allocations: 35.91 kB / 458.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.2717, allocations: 0 / 458.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001244/0.2719, allocations: 57.3 kB / 458.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.2719, allocations: 52.78 kB / 458.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.795e-05/0.2719, allocations: 94.95 kB / 458.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.272, allocations: 31.3 kB / 458.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.094e-05/0.272, allocations: 80.14 kB / 458.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.272, allocations: 13.14 kB / 458.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.272, allocations: 16.27 kB / 459 MB, free: 2.258 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.003e-05/0.2721, allocations: 312.2 kB / 459.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.2721, allocations: 11.55 kB / 459.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.056e-05/0.2721, allocations: 19.05 kB / 459.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/0.2721, allocations: 29.38 kB / 459.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2721, allocations: 1.188 kB / 459.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.81e-05/0.2722, allocations: 58.84 kB / 459.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2722, allocations: 5.312 kB / 459.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2722, allocations: 8.969 kB / 459.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2722, allocations: 1.031 kB / 459.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.081e-05/0.2723, allocations: 5.25 kB / 459.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2723, allocations: 1.156 kB / 459.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.2723, allocations: 5.562 kB / 459.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.2723, allocations: 5.422 kB / 459.4 MB, free: 1.82 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 9.539e-05/0.2724, allocations: 111.2 kB / 459.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.2724, allocations: 1.438 kB / 459.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.2724, allocations: 11.44 kB / 459.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.2724, allocations: 1.281 kB / 459.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.2725, allocations: 3.938 kB / 459.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2725, allocations: 1.219 kB / 459.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.439e-05/0.2725, allocations: 148.5 kB / 459.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2725, allocations: 8 kB / 459.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.2725, allocations: 4.688 kB / 459.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2726, allocations: 0 / 459.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.2726, allocations: 5 kB / 459.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2726, allocations: 0 / 459.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2726, allocations: 1.094 kB / 459.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.795e-05/0.2727, allocations: 79.95 kB / 459.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.2727, allocations: 82.34 kB / 459.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.2727, allocations: 8 kB / 459.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.2727, allocations: 1.25 kB / 459.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.2727, allocations: 5.062 kB / 459.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.2727, allocations: 1.156 kB / 459.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.654e-05/0.2727, allocations: 76.19 kB / 460 MB, free: 1.219 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2727, allocations: 0 / 460 MB, free: 1.219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001891/0.2729, allocations: 4.719 kB / 460 MB, free: 1.219 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.0002027/0.2731, allocations: 123.2 kB / 460.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.819e-05/0.2732, allocations: 16.78 kB / 460.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2732, allocations: 3.375 kB / 460.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.2732, allocations: 8.797 kB / 460.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.2734, allocations: 96 / 460.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.2736, allocations: 145.3 kB / 460.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.848e-05/0.2737, allocations: 0.6767 MB / 460.9 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.2737, allocations: 15.31 kB / 460.9 MB, free: 232 kB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2737, allocations: 0 / 460.9 MB, free: 232 kB / 318.1 MB Notification: Performance of Templates: time 0.002293/0.276, allocations: 0.6538 MB / 461.6 MB, free: 15.89 MB / 334.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: 7.150462383870035] Failed to read output from testmodel.py, exit status != 0: 0.284177573164925 0.29874883499999993 0.024903795000000003 Calling exit ...