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.001361/0.001361, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001603/0.001603, allocations: 173 kB / 23.49 MB, free: 1.059 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.9691/0.9691, allocations: 158.6 MB / 185.3 MB, free: 2.926 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.05761/0.05761, allocations: 6.411 MB / 244 MB, free: 8.793 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.803e-06/1.803e-06, allocations: 0 / 310.7 MB, free: 52.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.95e-05, allocations: 2.969 kB / 310.7 MB, free: 52.29 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001315/0.001334, allocations: 424.4 kB / 311.1 MB, free: 52.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.003428, allocations: 28.8 kB / 311.1 MB, free: 52.06 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.003462, allocations: 0 / 311.1 MB, free: 52.06 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.003612, allocations: 11.62 kB / 311.2 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.003718, allocations: 25.56 kB / 311.2 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.23e-05/0.003771, allocations: 7.328 kB / 311.2 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.105e-05/0.003832, allocations: 15.14 kB / 311.2 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.003873, allocations: 1.828 kB / 311.2 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.003916, allocations: 22.08 kB / 311.2 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.833e-05/0.003994, allocations: 31.98 kB / 311.3 MB, free: 52.03 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.004016, allocations: 1.438 kB / 311.3 MB, free: 52.03 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.798e-05/0.004064, allocations: 10.42 kB / 311.3 MB, free: 52.03 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.00408, allocations: 0 / 311.3 MB, free: 52.03 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.0041, allocations: 3.344 kB / 311.3 MB, free: 52.03 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.792e-05/0.004197, allocations: 19.27 kB / 311.3 MB, free: 52.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.0042, allocations: 1.406 kB / 311.3 MB, free: 52.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.0042, allocations: 1.031 kB / 311.3 MB, free: 52.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004205, allocations: 0 / 311.3 MB, free: 52.02 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.0002322/0.004437, allocations: 353.8 kB / 311.6 MB, free: 51.65 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.004476, allocations: 14.12 kB / 311.7 MB, free: 51.64 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.004515, allocations: 6.906 kB / 311.7 MB, free: 51.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.939e-05/0.004574, allocations: 108.7 kB / 311.8 MB, free: 51.51 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.004586, allocations: 2.609 kB / 311.8 MB, free: 51.51 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.004609, allocations: 3.906 kB / 311.8 MB, free: 51.51 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.003e-05/0.004689, allocations: 36.44 kB / 311.8 MB, free: 51.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.004698, allocations: 0.875 kB / 311.8 MB, free: 51.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.004707, allocations: 4.344 kB / 311.8 MB, free: 51.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.004714, allocations: 1.25 kB / 311.8 MB, free: 51.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.733e-05/0.004741, allocations: 10.44 kB / 311.8 MB, free: 51.47 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.503e-05/0.004836, allocations: 108.6 kB / 311.9 MB, free: 51.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.004992, allocations: 47.58 kB / 312 MB, free: 51.29 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.005021, allocations: 11.86 kB / 312 MB, free: 51.28 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.005045, allocations: 1.781 kB / 312 MB, free: 51.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.005063, allocations: 35.14 kB / 312 MB, free: 51.24 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.005064, allocations: 3.125 kB / 312 MB, free: 51.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001404/0.005205, allocations: 49.41 kB / 312.1 MB, free: 51.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.005233, allocations: 53.14 kB / 312.1 MB, free: 51.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.96e-05/0.005283, allocations: 164.6 kB / 312.3 MB, free: 50.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.12e-06/0.005288, allocations: 26.77 kB / 312.3 MB, free: 50.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.108e-05/0.005299, allocations: 126.9 kB / 312.4 MB, free: 50.8 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.005322, allocations: 10.48 kB / 312.5 MB, free: 50.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.005345, allocations: 23.86 kB / 312.5 MB, free: 50.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.00539, allocations: 498.7 kB / 313 MB, free: 50.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.005409, allocations: 11.47 kB / 313 MB, free: 50.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.819e-05/0.005428, allocations: 25.55 kB / 313 MB, free: 50.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.094e-05/0.005459, allocations: 32.55 kB / 313 MB, free: 50.2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.005461, allocations: 0 / 313 MB, free: 50.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.136e-05/0.005512, allocations: 46.47 kB / 313.1 MB, free: 50.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.005526, allocations: 5.312 kB / 313.1 MB, free: 50.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.005531, allocations: 1.969 kB / 313.1 MB, free: 50.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.005546, allocations: 1.219 kB / 313.1 MB, free: 50.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.793e-05/0.005574, allocations: 18.09 kB / 313.1 MB, free: 50.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.005579, allocations: 1.859 kB / 313.1 MB, free: 50.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.126e-05/0.005591, allocations: 13.08 kB / 313.1 MB, free: 50.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.005595, allocations: 1.031 kB / 313.1 MB, free: 50.14 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.118e-05/0.005666, allocations: 158.5 kB / 313.3 MB, free: 49.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-06/0.005672, allocations: 2.766 kB / 313.3 MB, free: 49.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.005704, allocations: 8.281 kB / 313.3 MB, free: 49.97 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005706, allocations: 1.062 kB / 313.3 MB, free: 49.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.005709, allocations: 1.781 kB / 313.3 MB, free: 49.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.005714, allocations: 8.641 kB / 313.3 MB, free: 49.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.533e-05/0.00576, allocations: 107.9 kB / 313.4 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.005761, allocations: 0.6094 kB / 313.4 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.005786, allocations: 5.328 kB / 313.4 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.005788, allocations: 0 / 313.4 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.0058, allocations: 1.734 kB / 313.4 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.005801, allocations: 0 / 313.4 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.005802, allocations: 1.219 kB / 313.4 MB, free: 49.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.083e-05/0.005893, allocations: 91.17 kB / 313.5 MB, free: 49.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-06/0.005899, allocations: 6.094 kB / 313.5 MB, free: 49.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.005909, allocations: 0.5625 kB / 313.5 MB, free: 49.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.67e-06/0.005915, allocations: 5.125 kB / 313.5 MB, free: 49.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.00593, allocations: 2.922 kB / 313.5 MB, free: 49.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-06/0.005932, allocations: 1.344 kB / 313.5 MB, free: 49.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.605e-05/0.005948, allocations: 121.1 kB / 313.6 MB, free: 49.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005948, allocations: 0 / 313.6 MB, free: 49.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001212/0.006069, allocations: 8.594 kB / 313.6 MB, free: 49.61 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.0002025/0.006272, allocations: 125.2 kB / 313.8 MB, free: 49.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.066e-05/0.006363, allocations: 27.55 kB / 313.8 MB, free: 49.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.006364, allocations: 0 / 313.8 MB, free: 49.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-05/0.006376, allocations: 14.59 kB / 313.8 MB, free: 49.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.006479, allocations: 7.016 kB / 313.8 MB, free: 49.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.006717, allocations: 114.4 kB / 313.9 MB, free: 49.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.165e-05/0.006739, allocations: 55.11 kB / 314 MB, free: 49.28 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.374e-05/0.006762, allocations: 7.625 kB / 314 MB, free: 49.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.006783, allocations: 12.11 kB / 314 MB, free: 49.27 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.006783, allocations: 3.938 kB / 314 MB, free: 49.27 MB / 282.7 MB Notification: Performance of Templates: time 0.002075/0.008859, allocations: 0.496 MB / 314.5 MB, free: 49.21 MB / 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=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.902084256056696]