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.001256/0.001256, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001343/0.001343, allocations: 221.1 kB / 23 MB, free: 4.914 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.374/1.374, allocations: 207.7 MB / 233.8 MB, free: 9.809 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.05101/0.05101, allocations: 8.195 MB / 294.3 MB, free: 13.48 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.002261/0.002261, allocations: 68.72 kB / 411.6 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06959/0.07185, allocations: 50.95 MB / 462.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001678/0.07352, allocations: 417.1 kB / 463 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 8.874e-05/0.07361, allocations: 23.91 kB / 463 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.07364, allocations: 0 / 463 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.07377, allocations: 15.97 kB / 463 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.74e-05/0.07386, allocations: 19.97 kB / 463.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.512e-05/0.07391, allocations: 11.94 kB / 463.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.671e-05/0.07397, allocations: 19.91 kB / 463.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.388e-05/0.07402, allocations: 4 kB / 463.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.418e-05/0.07406, allocations: 11.98 kB / 463.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.07413, allocations: 35.95 kB / 463.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.07415, allocations: 0 / 463.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.434e-05/0.07419, allocations: 11.98 kB / 463.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.07421, allocations: 0 / 463.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.07423, allocations: 7.938 kB / 463.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.405e-05/0.07431, allocations: 15.92 kB / 463.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.07431, allocations: 0 / 463.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.07432, allocations: 0 / 463.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.07432, allocations: 0 / 463.2 MB, free: 12.25 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.0003/0.07462, allocations: 250.3 kB / 463.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.07466, allocations: 11.98 kB / 463.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.07468, allocations: 4.938 kB / 463.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.07478, allocations: 106.5 kB / 463.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.07479, allocations: 384 / 463.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.07482, allocations: 8.312 kB / 463.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.491e-05/0.07491, allocations: 38.25 kB / 463.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.07492, allocations: 192 / 463.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.07493, allocations: 3.938 kB / 463.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.07494, allocations: 0 / 463.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.835e-05/0.07496, allocations: 4 kB / 463.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.07509, allocations: 105.3 kB / 463.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.07527, allocations: 34.55 kB / 463.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/0.0753, allocations: 12.92 kB / 463.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.07531, allocations: 0 / 463.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.07534, allocations: 38.55 kB / 463.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.07534, allocations: 0 / 463.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001443/0.07549, allocations: 57.52 kB / 463.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.07552, allocations: 55.39 kB / 463.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.07561, allocations: 97.86 kB / 464 MB, free: 11.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.07563, allocations: 25.7 kB / 464 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.07566, allocations: 84.08 kB / 464.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.07568, allocations: 8.078 kB / 464.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.07571, allocations: 17.72 kB / 464.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.07588, allocations: 314.8 kB / 464.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.046e-05/0.07591, allocations: 8.859 kB / 464.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.07593, allocations: 17.72 kB / 464.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.864e-05/0.07598, allocations: 33.64 kB / 464.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.07598, allocations: 0 / 464.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.892e-05/0.07606, allocations: 49.64 kB / 464.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.07607, allocations: 4 kB / 464.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.07608, allocations: 4.031 kB / 464.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.07609, allocations: 7.938 kB / 464.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.193e-05/0.07613, allocations: 7.938 kB / 464.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.07613, allocations: 0 / 464.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.07615, allocations: 8.344 kB / 464.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.07615, allocations: 4 kB / 464.6 MB, free: 10.66 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.0001493/0.0763, allocations: 109.8 kB / 464.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.07631, allocations: 0 / 464.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.07634, allocations: 7.516 kB / 464.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.07634, allocations: 3.938 kB / 464.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.07635, allocations: 7.938 kB / 464.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.07635, allocations: 4 kB / 464.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.043e-05/0.07644, allocations: 97.33 kB / 464.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.07644, allocations: 0 / 464.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.07648, allocations: 12 kB / 464.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.07648, allocations: 0 / 464.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.07649, allocations: 0 / 464.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.07649, allocations: 3.984 kB / 464.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.0765, allocations: 7.922 kB / 464.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.07662, allocations: 81.02 kB / 464.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-06/0.07662, allocations: 0 / 464.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.07664, allocations: 8.094 kB / 464.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.102e-05/0.07665, allocations: 0 / 464.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.07667, allocations: 7.922 kB / 464.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.07667, allocations: 0 / 464.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.96e-05/0.07672, allocations: 79.28 kB / 465 MB, free: 10.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.07672, allocations: 0 / 465 MB, free: 10.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001847/0.0769, allocations: 8 kB / 465 MB, free: 10.17 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.0002095/0.07711, allocations: 125 kB / 465.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.703e-05/0.0772, allocations: 15.92 kB / 465.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.0772, allocations: 0 / 465.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.421e-05/0.07721, allocations: 8 kB / 465.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.07734, allocations: 4 kB / 465.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.07761, allocations: 143.2 kB / 465.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.499e-05/0.07767, allocations: 63.34 kB / 465.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.0777, allocations: 11.5 kB / 465.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.0777, allocations: 0 / 465.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of Templates: time 0.002132/0.07983, allocations: 0.6565 MB / 466 MB, free: 9.098 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.487387624103576] Failed to read output from testmodel.py, exit status != 0: 0.0869709188118577 0.10242562299999994 0.025110829 Calling exit ...