Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.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.0009096/0.0009096, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001068/0.001068, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9933/0.9933, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8122/0.8122, allocations: 154.9 MB / 415.1 MB, free: 224 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 4 kB / 480.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.467e-05, allocations: 5.547 kB / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0014/0.001425, allocations: 0.6025 MB / 481 MB, free: 5.961 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.002714, allocations: 1.332 MB / 482.4 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.412e-05/0.002728, allocations: 0 / 482.4 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.11e-05/0.002739, allocations: 0.5625 kB / 482.4 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.002745, allocations: 0.7656 kB / 482.4 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.003066, allocations: 71.09 kB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.63e-05/0.003102, allocations: 0.7656 kB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.225e-05/0.003134, allocations: 1 kB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.266e-05/0.003157, allocations: 4 kB / 482.4 MB, free: 4.555 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.003197, allocations: 0 / 482.4 MB, free: 4.555 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.003207, allocations: 6.172 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.003424, allocations: 108.6 kB / 482.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.865e-06/0.003432, allocations: 4 kB / 482.6 MB, free: 4.441 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.208e-06/0.003441, allocations: 0 / 482.6 MB, free: 4.441 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.003559, allocations: 73.83 kB / 482.6 MB, free: 4.371 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.003561, allocations: 0 / 482.6 MB, free: 4.371 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003562, allocations: 0 / 482.6 MB, free: 4.371 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.765e-06/0.003564, allocations: 1.281 kB / 482.6 MB, free: 4.371 MB / 442.7 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.000185/0.003749, allocations: 229.5 kB / 482.8 MB, free: 4.125 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.003778, allocations: 12.03 kB / 482.9 MB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.989e-05/0.003798, allocations: 1.531 kB / 482.9 MB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.768e-05/0.003846, allocations: 105.8 kB / 483 MB, free: 3.984 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.003854, allocations: 5.281 kB / 483 MB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.003861, allocations: 384 / 483 MB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.477e-05/0.003916, allocations: 35.2 kB / 483 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-06/0.003921, allocations: 192 / 483 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-06/0.003926, allocations: 0.9375 kB / 483 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.00393, allocations: 4.484 kB / 483 MB, free: 3.938 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.045e-05/0.003941, allocations: 7.891 kB / 483 MB, free: 3.934 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.663e-05/0.003998, allocations: 57.03 kB / 483.1 MB, free: 3.863 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.902e-05/0.004027, allocations: 18.61 kB / 483.1 MB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-06/0.004036, allocations: 5.516 kB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.004225, allocations: 49.8 kB / 483.1 MB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.004243, allocations: 35.56 kB / 483.2 MB, free: 3.738 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 6.52e-07/0.004244, allocations: 0 / 483.2 MB, free: 3.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 7.081e-05/0.004314, allocations: 34.72 kB / 483.2 MB, free: 3.699 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.004338, allocations: 55.41 kB / 483.3 MB, free: 3.633 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.506e-05/0.004363, allocations: 91.44 kB / 483.4 MB, free: 3.535 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.004372, allocations: 25.7 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.694e-05/0.004388, allocations: 80.73 kB / 483.5 MB, free: 3.422 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.004415, allocations: 3.094 kB / 483.5 MB, free: 3.422 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.004435, allocations: 15.12 kB / 483.5 MB, free: 3.402 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.004502, allocations: 322.8 kB / 483.8 MB, free: 3.078 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-06/0.004508, allocations: 4 kB / 483.8 MB, free: 3.074 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-06/0.004513, allocations: 0.7812 kB / 483.8 MB, free: 3.074 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.093e-05/0.004534, allocations: 14.3 kB / 483.8 MB, free: 3.059 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004535, allocations: 0.9844 kB / 483.8 MB, free: 3.059 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.089e-05/0.004566, allocations: 33.69 kB / 483.8 MB, free: 3.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.004577, allocations: 8 kB / 483.9 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.004581, allocations: 0.8438 kB / 483.9 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.004589, allocations: 0 / 483.9 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.821e-05/0.004617, allocations: 0.5625 kB / 483.9 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.004619, allocations: 1.25 kB / 483.9 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.312e-06/0.004626, allocations: 0 / 483.9 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.004631, allocations: 7.938 kB / 483.9 MB, free: 3.004 MB / 442.7 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.297e-05/0.004674, allocations: 107.5 kB / 484 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-06/0.004678, allocations: 0 / 484 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.004732, allocations: 45.11 kB / 484 MB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.004734, allocations: 0.625 kB / 484 MB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.004736, allocations: 0 / 484 MB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.004738, allocations: 0.625 kB / 484 MB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.189e-05/0.00478, allocations: 65.84 kB / 484.1 MB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.004781, allocations: 4.609 kB / 484.1 MB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-06/0.004785, allocations: 1.391 kB / 484.1 MB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.004787, allocations: 4 kB / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-06/0.00479, allocations: 0.9375 kB / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.00479, allocations: 0 / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.004791, allocations: 0 / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.822e-05/0.004829, allocations: 62.58 kB / 484.2 MB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-06/0.004835, allocations: 7.984 kB / 484.2 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-06/0.004841, allocations: 0.5469 kB / 484.2 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.376e-06/0.004844, allocations: 0.9062 kB / 484.2 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-06/0.004852, allocations: 0.9375 kB / 484.2 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-06/0.004853, allocations: 0 / 484.2 MB, free: 2.668 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.478e-06/0.004858, allocations: 5.547 kB / 484.2 MB, free: 2.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004858, allocations: 1.578 kB / 484.2 MB, free: 2.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001017/0.00496, allocations: 11.94 kB / 484.2 MB, free: 2.648 MB / 442.7 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.0001023/0.005062, allocations: 93.69 kB / 484.3 MB, free: 2.547 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 3.812e-05/0.0051, allocations: 10.86 kB / 484.3 MB, free: 2.535 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.005101, allocations: 0 / 484.3 MB, free: 2.535 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.532e-06/0.005108, allocations: 12.8 kB / 484.3 MB, free: 2.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.246e-05/0.00515, allocations: 15.92 kB / 484.3 MB, free: 2.504 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001275/0.005278, allocations: 76.41 kB / 484.4 MB, free: 2.402 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.977e-05/0.005308, allocations: 51.36 kB / 484.4 MB, free: 2.332 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.32e-05/0.005321, allocations: 2.641 kB / 484.4 MB, free: 2.332 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.005346, allocations: 51.38 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.005346, allocations: 1.75 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of Templates: time 0.001679/0.007025, allocations: 470.5 kB / 485 MB, free: 1.848 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6586159002035856]