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.001746/0.001746, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.001873/0.001873, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.311/1.311, allocations: 158.6 MB / 184.6 MB, free: 2.906 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.05986/0.05986, allocations: 6.426 MB / 243.3 MB, free: 8.766 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 2.434e-06/2.434e-06, allocations: 0 / 310 MB, free: 52.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.089e-05, allocations: 3.297 kB / 310 MB, free: 52.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001651/0.001682, allocations: 420.6 kB / 310.4 MB, free: 52.05 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 7.968e-05/0.001762, allocations: 28.78 kB / 310.4 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.001791, allocations: 3.938 kB / 310.4 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.00196, allocations: 14.77 kB / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.75e-05/0.002058, allocations: 26.16 kB / 310.5 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.839e-05/0.002106, allocations: 1.953 kB / 310.5 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.002162, allocations: 16.19 kB / 310.5 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.002199, allocations: 1.938 kB / 310.5 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.002247, allocations: 21.72 kB / 310.5 MB, free: 52.01 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.229e-05/0.002339, allocations: 27.77 kB / 310.5 MB, free: 52.01 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.002356, allocations: 3.938 kB / 310.5 MB, free: 52.01 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.517e-05/0.002401, allocations: 7.312 kB / 310.5 MB, free: 52.01 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.00242, allocations: 9.656 kB / 310.5 MB, free: 52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.002439, allocations: 1.625 kB / 310.5 MB, free: 52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.967e-05/0.002539, allocations: 19.78 kB / 310.6 MB, free: 51.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.002541, allocations: 1.188 kB / 310.6 MB, free: 51.99 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.002542, allocations: 0.625 kB / 310.6 MB, free: 51.99 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.002546, allocations: 0 / 310.6 MB, free: 51.99 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.0002528/0.002799, allocations: 349.6 kB / 310.9 MB, free: 51.62 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.002853, allocations: 13.58 kB / 310.9 MB, free: 51.62 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.002895, allocations: 2.094 kB / 310.9 MB, free: 51.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.584e-05/0.002961, allocations: 109 kB / 311 MB, free: 51.49 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.002973, allocations: 2.625 kB / 311 MB, free: 51.49 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.002993, allocations: 1.594 kB / 311 MB, free: 51.49 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.821e-05/0.003082, allocations: 39.7 kB / 311.1 MB, free: 51.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.003093, allocations: 4.125 kB / 311.1 MB, free: 51.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.003102, allocations: 1.5 kB / 311.1 MB, free: 51.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.003106, allocations: 384 / 311.1 MB, free: 51.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.031e-05/0.003146, allocations: 9.562 kB / 311.1 MB, free: 51.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.003259, allocations: 110.6 kB / 311.2 MB, free: 51.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.003428, allocations: 41.22 kB / 311.2 MB, free: 51.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.003452, allocations: 20.77 kB / 311.3 MB, free: 51.26 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.003469, allocations: 1.844 kB / 311.3 MB, free: 51.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.003481, allocations: 38.42 kB / 311.3 MB, free: 51.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.003483, allocations: 6.422 kB / 311.3 MB, free: 51.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001429/0.003626, allocations: 46.77 kB / 311.4 MB, free: 51.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.003647, allocations: 52.44 kB / 311.4 MB, free: 51.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.4e-05/0.003701, allocations: 157.9 kB / 311.6 MB, free: 50.94 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.003706, allocations: 25.7 kB / 311.6 MB, free: 50.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.796e-05/0.003724, allocations: 128 kB / 311.7 MB, free: 50.78 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.00376, allocations: 20.16 kB / 311.7 MB, free: 50.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.003787, allocations: 19.53 kB / 311.7 MB, free: 50.74 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.311e-05/0.00385, allocations: 499.4 kB / 312.2 MB, free: 50.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.003876, allocations: 12.19 kB / 312.2 MB, free: 50.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/0.003899, allocations: 30.17 kB / 312.3 MB, free: 50.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.839e-05/0.003938, allocations: 29.5 kB / 312.3 MB, free: 50.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.003939, allocations: 4.125 kB / 312.3 MB, free: 50.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.142e-05/0.004011, allocations: 51.78 kB / 312.4 MB, free: 50.13 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.004024, allocations: 7.375 kB / 312.4 MB, free: 50.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.00403, allocations: 0.625 kB / 312.4 MB, free: 50.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.004045, allocations: 1.281 kB / 312.4 MB, free: 50.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.121e-05/0.004076, allocations: 5.875 kB / 312.4 MB, free: 50.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.004081, allocations: 1.094 kB / 312.4 MB, free: 50.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.004097, allocations: 9.047 kB / 312.4 MB, free: 50.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.004103, allocations: 4.75 kB / 312.4 MB, free: 50.12 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 8.623e-05/0.004189, allocations: 165.9 kB / 312.5 MB, free: 49.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.0042, allocations: 3.375 kB / 312.6 MB, free: 49.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.004232, allocations: 3.531 kB / 312.6 MB, free: 49.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.004234, allocations: 2.75 kB / 312.6 MB, free: 49.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.004238, allocations: 0.7031 kB / 312.6 MB, free: 49.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.004242, allocations: 5.312 kB / 312.6 MB, free: 49.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.363e-05/0.004296, allocations: 116.9 kB / 312.7 MB, free: 49.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.004297, allocations: 0 / 312.7 MB, free: 49.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.004332, allocations: 9.203 kB / 312.7 MB, free: 49.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.004334, allocations: 1 kB / 312.7 MB, free: 49.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.004341, allocations: 5.406 kB / 312.7 MB, free: 49.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.004343, allocations: 1.219 kB / 312.7 MB, free: 49.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.004343, allocations: 0 / 312.7 MB, free: 49.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.00445, allocations: 86.58 kB / 312.8 MB, free: 49.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.004455, allocations: 4.5 kB / 312.8 MB, free: 49.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.004468, allocations: 3.516 kB / 312.8 MB, free: 49.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.004481, allocations: 4.875 kB / 312.8 MB, free: 49.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.004502, allocations: 2.391 kB / 312.8 MB, free: 49.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.004505, allocations: 2.438 kB / 312.8 MB, free: 49.7 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.341e-05/0.004528, allocations: 121.6 kB / 312.9 MB, free: 49.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004528, allocations: 4.125 kB / 312.9 MB, free: 49.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001923/0.004721, allocations: 7.156 kB / 312.9 MB, free: 49.57 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.0002319/0.004952, allocations: 120.9 kB / 313 MB, free: 49.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.196e-05/0.005044, allocations: 25.03 kB / 313.1 MB, free: 49.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.005046, allocations: 0 / 313.1 MB, free: 49.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.657e-05/0.005063, allocations: 15.89 kB / 313.1 MB, free: 49.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.005191, allocations: 5.938 kB / 313.1 MB, free: 49.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/0.005427, allocations: 129.6 kB / 313.2 MB, free: 49.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.106e-05/0.005458, allocations: 60.27 kB / 313.3 MB, free: 49.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.259e-05/0.00548, allocations: 4.25 kB / 313.3 MB, free: 49.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.005503, allocations: 10.38 kB / 313.3 MB, free: 49.24 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.005503, allocations: 0 / 313.3 MB, free: 49.24 MB / 282.7 MB Notification: Performance of Templates: time 0.003206/0.008709, allocations: 497.1 kB / 313.8 MB, free: 49.2 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: 4.3676912259543315]