Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.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.001365/0.001365, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.00265/0.00265, allocations: 190.5 kB / 22.11 MB, free: 5.152 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.651/1.651, allocations: 207.6 MB / 232.8 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.303/0.303, allocations: 55.67 MB / 340.7 MB, free: 13.99 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.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(Annex60.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Annex60.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction") [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: Annex60 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.003739/0.003739, allocations: 82.22 kB / 482.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5523/0.556, allocations: 62.87 MB / 0.5322 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001784/0.5578, allocations: 0.5446 MB / 0.5327 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.5589, allocations: 0.9821 MB / 0.5337 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.5589, allocations: 0 / 0.5337 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.5589, allocations: 0 / 0.5337 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.442e-06/0.5589, allocations: 3.938 kB / 0.5337 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.5593, allocations: 58.17 kB / 0.5337 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.26e-05/0.5594, allocations: 1.781 kB / 0.5337 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.5594, allocations: 13.66 kB / 0.5337 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.461e-05/0.5594, allocations: 1.406 kB / 0.5337 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.503e-05/0.5595, allocations: 1.125 kB / 0.5337 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.5595, allocations: 0 / 0.5337 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.5597, allocations: 93 kB / 0.5338 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.5597, allocations: 4 kB / 0.5338 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.439e-05/0.5597, allocations: 1.375 kB / 0.5338 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.5598, allocations: 46.72 kB / 0.5339 GB, free: 6.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5598, allocations: 0 / 0.5339 GB, free: 6.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5598, allocations: 1.156 kB / 0.5339 GB, free: 6.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.5599, allocations: 0 / 0.5339 GB, free: 6.691 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002664/0.5601, allocations: 250.5 kB / 0.5341 GB, free: 6.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.5602, allocations: 9.312 kB / 0.5341 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.5602, allocations: 2.156 kB / 0.5341 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.968e-05/0.5602, allocations: 108.3 kB / 0.5342 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.515e-06/0.5602, allocations: 1.031 kB / 0.5342 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.5603, allocations: 1.625 kB / 0.5342 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.847e-05/0.5603, allocations: 36.25 kB / 0.5343 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.5604, allocations: 3.938 kB / 0.5343 GB, free: 6.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.5604, allocations: 1.375 kB / 0.5343 GB, free: 6.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5604, allocations: 4 kB / 0.5343 GB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.816e-05/0.5604, allocations: 1.797 kB / 0.5343 GB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.8e-05/0.5605, allocations: 116.7 kB / 0.5344 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.273e-05/0.5605, allocations: 16.02 kB / 0.5344 GB, free: 6.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.5605, allocations: 10.83 kB / 0.5344 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000333/0.5609, allocations: 39.12 kB / 0.5344 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.5609, allocations: 36.31 kB / 0.5345 GB, free: 6.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5609, allocations: 0 / 0.5345 GB, free: 6.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001274/0.561, allocations: 38.94 kB / 0.5345 GB, free: 5.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.561, allocations: 53.12 kB / 0.5346 GB, free: 5.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.655e-05/0.5611, allocations: 89.86 kB / 0.5347 GB, free: 5.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.5611, allocations: 26.8 kB / 0.5347 GB, free: 5.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.444e-05/0.5611, allocations: 88.81 kB / 0.5348 GB, free: 5.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.5611, allocations: 1.125 kB / 0.5348 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.5611, allocations: 11.55 kB / 0.5348 GB, free: 5.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.518e-05/0.5612, allocations: 316.6 kB / 0.5351 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.5612, allocations: 1.125 kB / 0.5351 GB, free: 5.367 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-06/0.5612, allocations: 1.094 kB / 0.5351 GB, free: 5.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/0.5612, allocations: 12.62 kB / 0.5351 GB, free: 5.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5612, allocations: 0 / 0.5351 GB, free: 5.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.566e-05/0.5613, allocations: 40.7 kB / 0.5351 GB, free: 5.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.5613, allocations: 6.156 kB / 0.5351 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5613, allocations: 0 / 0.5351 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5613, allocations: 1.094 kB / 0.5351 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.077e-05/0.5613, allocations: 1.812 kB / 0.5351 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.5613, allocations: 1.031 kB / 0.5351 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.5614, allocations: 0.75 kB / 0.5351 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.5614, allocations: 1.062 kB / 0.5351 GB, free: 5.316 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 4.888e-05/0.5614, allocations: 115.7 kB / 0.5353 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.5614, allocations: 5 kB / 0.5353 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.314e-05/0.5615, allocations: 44.03 kB / 0.5353 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5615, allocations: 0.5156 kB / 0.5353 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5615, allocations: 1.062 kB / 0.5353 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5615, allocations: 0.75 kB / 0.5353 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.448e-05/0.5616, allocations: 119.4 kB / 0.5354 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.5616, allocations: 1.062 kB / 0.5354 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.5616, allocations: 13.12 kB / 0.5354 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5616, allocations: 2.188 kB / 0.5354 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.5616, allocations: 0 / 0.5354 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.5616, allocations: 1.094 kB / 0.5354 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.5616, allocations: 0 / 0.5354 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.103e-05/0.5616, allocations: 57.62 kB / 0.5355 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.5616, allocations: 9.734 kB / 0.5355 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.5616, allocations: 1.5 kB / 0.5355 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-06/0.5617, allocations: 8.031 kB / 0.5355 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.5617, allocations: 1.938 kB / 0.5355 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.5617, allocations: 0 / 0.5355 GB, free: 4.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 1.149e-05/0.5617, allocations: 76.72 kB / 0.5356 GB, free: 4.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.5617, allocations: 0 / 0.5356 GB, free: 4.828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.5619, allocations: 5 kB / 0.5356 GB, free: 4.828 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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.0001234/0.562, allocations: 100 kB / 0.5357 GB, free: 4.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.747e-05/0.5621, allocations: 8.062 kB / 0.5357 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5621, allocations: 0 / 0.5357 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.943e-06/0.5621, allocations: 2.719 kB / 0.5357 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.5622, allocations: 5.703 kB / 0.5357 GB, free: 4.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001599/0.5624, allocations: 93.95 kB / 0.5358 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.5625, allocations: 0.6724 MB / 0.5364 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.739e-05/0.5625, allocations: 1.219 kB / 0.5364 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.347e-05/0.5625, allocations: 12.12 kB / 0.5365 GB, free: 3.914 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5625, allocations: 0 / 0.5365 GB, free: 3.914 MB / 398.1 MB Notification: Performance of Templates: time 0.002777/0.5653, allocations: 305.5 kB / 0.5368 GB, free: 3.844 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7667446276173] Failed to read output from testmodel.py, exit status != 0: 0.575516190379858 0.588663906 0.02564995 Calling exit ...