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.001168/0.001168, 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.001424/0.001424, 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 1.132/1.132, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8843/0.8843, allocations: 154.9 MB / 415.1 MB, free: 216 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.545e-06/2.545e-06, allocations: 0 / 480.5 MB, free: 6.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.57e-05, allocations: 6.25 kB / 480.5 MB, free: 6.402 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002439/0.002474, allocations: 0.6351 MB / 481.1 MB, free: 5.805 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.005027, allocations: 1.329 MB / 482.4 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.00505, allocations: 0 / 482.4 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.005069, allocations: 0 / 482.4 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.446e-06/0.005077, allocations: 0 / 482.4 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.00552, allocations: 58.08 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.303e-05/0.005573, allocations: 12.98 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.005622, allocations: 1.391 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.196e-05/0.005664, allocations: 11.98 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.005719, allocations: 0.625 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.00573, allocations: 2.828 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000395/0.006125, allocations: 111.8 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.006136, allocations: 0.7656 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.261e-05/0.006149, allocations: 4 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.00632, allocations: 72.39 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.006325, allocations: 0 / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.006327, allocations: 1.531 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.006332, allocations: 0 / 482.7 MB, free: 4.211 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.0002651/0.006597, allocations: 225.2 kB / 482.9 MB, free: 3.969 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.006637, allocations: 12.03 kB / 482.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.006667, allocations: 3.406 kB / 482.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.752e-05/0.006745, allocations: 105.8 kB / 483 MB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.006759, allocations: 4.375 kB / 483 MB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.006767, allocations: 5 kB / 483.1 MB, free: 3.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.417e-05/0.006851, allocations: 30.2 kB / 483.1 MB, free: 3.785 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.00686, allocations: 0.8125 kB / 483.1 MB, free: 3.785 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.006868, allocations: 4.75 kB / 483.1 MB, free: 3.785 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.006878, allocations: 3.938 kB / 483.1 MB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.4e-05/0.006892, allocations: 4.625 kB / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.223e-05/0.006984, allocations: 53.67 kB / 483.1 MB, free: 3.711 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.531e-05/0.007029, allocations: 19.27 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.29e-05/0.007042, allocations: 5.484 kB / 483.2 MB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/0.007319, allocations: 61.5 kB / 483.2 MB, free: 3.617 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.007348, allocations: 32.22 kB / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 2.434e-06/0.007351, allocations: 0 / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001128/0.007463, allocations: 29.7 kB / 483.3 MB, free: 3.543 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.007501, allocations: 56.17 kB / 483.3 MB, free: 3.477 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.777e-05/0.007539, allocations: 90.77 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.007553, allocations: 25.7 kB / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.007582, allocations: 81.14 kB / 483.5 MB, free: 3.266 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.007616, allocations: 3.094 kB / 483.5 MB, free: 3.266 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.007653, allocations: 21.7 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.007763, allocations: 315.3 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.007774, allocations: 6.516 kB / 483.9 MB, free: 2.918 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-06/0.007781, allocations: 3.938 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.149e-05/0.007812, allocations: 8.859 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007815, allocations: 0.6562 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.952e-05/0.007874, allocations: 30.92 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.007891, allocations: 7.984 kB / 483.9 MB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.007896, allocations: 4 kB / 483.9 MB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.00791, allocations: 1.062 kB / 483.9 MB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.621e-05/0.007956, allocations: 0 / 483.9 MB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.007959, allocations: 0 / 483.9 MB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.257e-05/0.007972, allocations: 1.156 kB / 483.9 MB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.007981, allocations: 4.594 kB / 483.9 MB, free: 2.852 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 7.116e-05/0.008052, allocations: 114.5 kB / 484.1 MB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-06/0.008059, allocations: 0 / 484.1 MB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.601e-05/0.008155, allocations: 41.61 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.008157, allocations: 0 / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.008159, allocations: 0 / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.008162, allocations: 1.203 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.55e-05/0.008228, allocations: 65.84 kB / 484.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008229, allocations: 1.969 kB / 484.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.008249, allocations: 4 kB / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.008252, allocations: 0 / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.008257, allocations: 4.766 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.008259, allocations: 0 / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.008262, allocations: 4.547 kB / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.757e-05/0.00833, allocations: 61.72 kB / 484.2 MB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.008336, allocations: 4 kB / 484.2 MB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.008346, allocations: 1.344 kB / 484.2 MB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-06/0.008353, allocations: 0 / 484.2 MB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.008367, allocations: 5.078 kB / 484.2 MB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.008371, allocations: 0.625 kB / 484.2 MB, free: 2.508 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.614e-06/0.008378, allocations: 4.859 kB / 484.3 MB, free: 2.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008378, allocations: 0.5938 kB / 484.3 MB, free: 2.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.008562, allocations: 11.94 kB / 484.3 MB, free: 2.488 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.0001908/0.008753, allocations: 93.78 kB / 484.4 MB, free: 2.387 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.839e-05/0.008822, allocations: 9.547 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.008825, allocations: 0.5469 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.099e-05/0.008836, allocations: 17.83 kB / 484.4 MB, free: 2.355 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.053e-05/0.008917, allocations: 11.88 kB / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.009147, allocations: 79.92 kB / 484.5 MB, free: 2.238 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.451e-05/0.009192, allocations: 52.39 kB / 484.5 MB, free: 2.168 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.097e-05/0.009223, allocations: 1.625 kB / 484.5 MB, free: 2.168 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.009265, allocations: 49.22 kB / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of SimCode: time 1.834e-06/0.009267, allocations: 4 kB / 484.6 MB, free: 2.117 MB / 442.7 MB Notification: Performance of Templates: time 0.002643/0.01191, allocations: 472.3 kB / 485 MB, free: 1.688 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7957469429820776]