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.001387/0.001387, allocations: 113.2 kB / 17.08 MB, free: 6.012 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.001312/0.001312, allocations: 193.2 kB / 20.03 MB, free: 3.082 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: 205.1 MB / 227.9 MB, free: 4.387 MB / 174.1 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.07016/0.07016, allocations: 8.118 MB / 285.4 MB, free: 10.99 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.003095/0.003095, allocations: 67.91 kB / 396 MB, free: 6.82 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2464, allocations: 48.3 MB / 444.3 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001493/0.2479, allocations: 415 kB / 444.7 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 7.774e-05/0.248, allocations: 39.25 kB / 444.8 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.2481, allocations: 1.156 kB / 444.8 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.2482, allocations: 5.844 kB / 444.8 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.829e-05/0.2483, allocations: 20.84 kB / 444.8 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.695e-05/0.2483, allocations: 7.906 kB / 444.8 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.337e-05/0.2484, allocations: 30 kB / 444.8 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.2484, allocations: 2.969 kB / 444.9 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.518e-05/0.2485, allocations: 14.78 kB / 444.9 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.512e-05/0.2485, allocations: 28.03 kB / 444.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.2486, allocations: 0 / 444.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.951e-05/0.2486, allocations: 7.922 kB / 444.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.2486, allocations: 4 kB / 444.9 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.713e-05/0.2487, allocations: 6.047 kB / 444.9 MB, free: 8.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.897e-05/0.2487, allocations: 17.75 kB / 444.9 MB, free: 8.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2487, allocations: 0 / 444.9 MB, free: 8.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2488, allocations: 0.7031 kB / 444.9 MB, free: 8.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.2488, allocations: 4 kB / 444.9 MB, free: 8.445 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.0002145/0.249, allocations: 322.7 kB / 445.2 MB, free: 8.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.249, allocations: 13.69 kB / 445.3 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.2491, allocations: 4.938 kB / 445.3 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.918e-05/0.2491, allocations: 162.8 kB / 445.4 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.2491, allocations: 1.625 kB / 445.4 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.2492, allocations: 9.859 kB / 445.4 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.696e-05/0.2492, allocations: 36.23 kB / 445.5 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2493, allocations: 5.375 kB / 445.5 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2493, allocations: 7.922 kB / 445.5 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2493, allocations: 1.062 kB / 445.5 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.357e-05/0.2493, allocations: 9.5 kB / 445.5 MB, free: 7.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.385e-05/0.2494, allocations: 149.9 kB / 445.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.2496, allocations: 32.73 kB / 445.7 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.2496, allocations: 10.84 kB / 445.7 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.2496, allocations: 12.64 kB / 445.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.083e-05/0.2496, allocations: 32.27 kB / 445.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2496, allocations: 0 / 445.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001207/0.2498, allocations: 52.88 kB / 445.8 MB, free: 7.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.2498, allocations: 53.23 kB / 445.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.224e-05/0.2498, allocations: 92.94 kB / 445.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.2499, allocations: 26.41 kB / 445.9 MB, free: 7.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.917e-05/0.2499, allocations: 85.39 kB / 446 MB, free: 7.234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.2499, allocations: 15.64 kB / 446 MB, free: 7.223 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.2499, allocations: 13.09 kB / 446.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.547e-05/0.25, allocations: 311.5 kB / 446.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.25, allocations: 16.91 kB / 446.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-05/0.25, allocations: 16.02 kB / 446.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.572e-05/0.2501, allocations: 28.19 kB / 446.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2501, allocations: 4 kB / 446.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.722e-05/0.2501, allocations: 54.67 kB / 446.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.2502, allocations: 4.969 kB / 446.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2502, allocations: 5.219 kB / 446.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2502, allocations: 0.75 kB / 446.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.916e-05/0.2502, allocations: 7.141 kB / 446.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2502, allocations: 1.656 kB / 446.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.2503, allocations: 0 / 446.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.2503, allocations: 2.047 kB / 446.5 MB, free: 6.789 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 8.139e-05/0.2503, allocations: 113.1 kB / 446.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-06/0.2504, allocations: 1.734 kB / 446.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.2504, allocations: 12.05 kB / 446.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2504, allocations: 1.312 kB / 446.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2504, allocations: 3.938 kB / 446.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2504, allocations: 4.5 kB / 446.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.279e-05/0.2505, allocations: 148.8 kB / 446.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2505, allocations: 0 / 446.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.2505, allocations: 5.016 kB / 446.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2505, allocations: 5.578 kB / 446.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.2505, allocations: 7.938 kB / 446.8 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2505, allocations: 5.719 kB / 446.8 MB, free: 6.449 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2505, allocations: 3.984 kB / 446.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.25e-05/0.2506, allocations: 77.44 kB / 446.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.2507, allocations: 81.94 kB / 447 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.2507, allocations: 5.734 kB / 447 MB, free: 6.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.25e-05/0.2507, allocations: 5 kB / 447 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.2507, allocations: 6.203 kB / 447 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.2507, allocations: 1.938 kB / 447 MB, free: 6.262 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.6e-05/0.2507, allocations: 77.2 kB / 447.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2507, allocations: 3.938 kB / 447.1 MB, free: 6.184 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001825/0.2509, allocations: 2.875 kB / 447.1 MB, free: 6.184 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.0001728/0.2511, allocations: 125.6 kB / 447.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.428e-05/0.2512, allocations: 16.36 kB / 447.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.2512, allocations: 1.094 kB / 447.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.2512, allocations: 6.031 kB / 447.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.2514, allocations: 6.25 kB / 447.2 MB, free: 6.062 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001872/0.2516, allocations: 136.6 kB / 447.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.056e-05/0.2516, allocations: 0.6753 MB / 448 MB, free: 5.223 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.2517, allocations: 14.53 kB / 448 MB, free: 5.211 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2517, allocations: 0 / 448 MB, free: 5.211 MB / 318.1 MB Notification: Performance of Templates: time 0.00215/0.2538, allocations: 0.657 MB / 448.7 MB, free: 5.152 MB / 318.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.645103543996811] Failed to read output from testmodel.py, exit status != 0: 0.26190967904403806 0.270788619 0.019536982 Calling exit ...