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.001366/0.001366, allocations: 102.1 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.001504/0.001504, allocations: 220 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.392/1.392, 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.05468/0.05468, allocations: 8.205 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.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.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.002386/0.002386, allocations: 72.14 kB / 411.7 MB, free: 46.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06487/0.06725, allocations: 50.94 MB / 462.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001641/0.06889, allocations: 425 kB / 463 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 8.948e-05/0.06898, allocations: 31.88 kB / 463 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.06901, allocations: 0 / 463 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.06914, allocations: 3.984 kB / 463 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.301e-05/0.06923, allocations: 31.89 kB / 463.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.423e-05/0.06928, allocations: 8 kB / 463.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.544e-05/0.06937, allocations: 15.98 kB / 463.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.06941, allocations: 4 kB / 463.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.06944, allocations: 19.91 kB / 463.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/0.06952, allocations: 31.97 kB / 463.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.06953, allocations: 0 / 463.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.781e-05/0.06958, allocations: 7.984 kB / 463.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.06959, allocations: 0 / 463.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.06962, allocations: 11.92 kB / 463.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.319e-05/0.0697, allocations: 19.88 kB / 463.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.06971, allocations: 0 / 463.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.06971, allocations: 0 / 463.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.06971, allocations: 0 / 463.2 MB, free: 12.41 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.0003041/0.07002, allocations: 246.4 kB / 463.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.07005, allocations: 15.98 kB / 463.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.07008, allocations: 0.9375 kB / 463.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.07022, allocations: 110.5 kB / 463.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.07023, allocations: 4.375 kB / 463.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.07025, allocations: 384 / 463.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.658e-05/0.07035, allocations: 38.25 kB / 463.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.07036, allocations: 4.125 kB / 463.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.07037, allocations: 3.938 kB / 463.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.07038, allocations: 7.984 kB / 463.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.134e-05/0.07041, allocations: 7.938 kB / 463.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.07056, allocations: 124.8 kB / 463.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.07072, allocations: 34.61 kB / 463.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.07074, allocations: 8.922 kB / 463.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.07076, allocations: 0 / 463.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.0708, allocations: 38.55 kB / 463.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.0708, allocations: 0 / 463.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001639/0.07096, allocations: 57.52 kB / 463.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.07101, allocations: 51.41 kB / 463.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.07109, allocations: 97.86 kB / 464 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.07111, allocations: 25.7 kB / 464.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.07115, allocations: 80.14 kB / 464.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.07117, allocations: 3.953 kB / 464.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.07121, allocations: 25.83 kB / 464.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.07136, allocations: 310.8 kB / 464.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.07138, allocations: 8.859 kB / 464.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/0.07141, allocations: 17.72 kB / 464.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.845e-05/0.07146, allocations: 29.64 kB / 464.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.07146, allocations: 0 / 464.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.846e-05/0.07155, allocations: 57.64 kB / 464.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.07157, allocations: 4 kB / 464.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.07157, allocations: 3.938 kB / 464.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.07159, allocations: 4 kB / 464.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.136e-05/0.07162, allocations: 7.938 kB / 464.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.07162, allocations: 0 / 464.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.07164, allocations: 4.344 kB / 464.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.07165, allocations: 8 kB / 464.6 MB, free: 10.8 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.0001662/0.07181, allocations: 109.9 kB / 464.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.07183, allocations: 7.984 kB / 464.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.07186, allocations: 7.797 kB / 464.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.07186, allocations: 0 / 464.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.07186, allocations: 0 / 464.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.07187, allocations: 3.984 kB / 464.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.07198, allocations: 124.7 kB / 464.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.07198, allocations: 7.922 kB / 464.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.07202, allocations: 4 kB / 464.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.07202, allocations: 0 / 464.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.07203, allocations: 11.94 kB / 464.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.07203, allocations: 4 kB / 464.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.07203, allocations: 0 / 464.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.07216, allocations: 81.05 kB / 465 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-06/0.07217, allocations: 0 / 465 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.07218, allocations: 7.922 kB / 465 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.173e-05/0.07219, allocations: 0 / 465 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.0722, allocations: 0 / 465 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.07221, allocations: 4 kB / 465 MB, free: 10.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.093e-05/0.07225, allocations: 79.34 kB / 465.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.07225, allocations: 0 / 465.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.07244, allocations: 8 kB / 465.1 MB, free: 10.27 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.0002368/0.07268, allocations: 112.9 kB / 465.2 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.495e-05/0.07276, allocations: 20.03 kB / 465.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.07277, allocations: 4 kB / 465.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.504e-05/0.07278, allocations: 7.984 kB / 465.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.07291, allocations: 0 / 465.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.07319, allocations: 147.2 kB / 465.3 MB, free: 9.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.07353, allocations: 0.669 MB / 466 MB, free: 9.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.07357, allocations: 11.44 kB / 466 MB, free: 9.238 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.07357, allocations: 4.062 kB / 466 MB, free: 9.234 MB / 334.1 MB Notification: Performance of Templates: time 0.00237/0.07594, allocations: 0.6642 MB / 466.7 MB, free: 8.574 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: 6.704213311895728] Failed to read output from testmodel.py, exit status != 0: 0.08357549807988107 0.10043370699999994 0.027425210000000002 Calling exit ...