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.0007633/0.0007633, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009102/0.001673, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007196/0.0007196, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009879/0.001708, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.026/1.026, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08856/1.115, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.779/0.779, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2719/1.051, allocations: 49.14 MB / 448.6 MB, free: 5.887 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 1.092e-06/1.092e-06, allocations: 0 / 450 MB, free: 4.516 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.876e-05, allocations: 2.312 kB / 450 MB, free: 4.512 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001201/0.00122, allocations: 0.6511 MB / 450.7 MB, free: 3.895 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.002436, allocations: 1.332 MB / 452 MB, free: 2.559 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.067e-05/0.002447, allocations: 0 / 452 MB, free: 2.559 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.078e-06/0.002451, allocations: 0 / 452 MB, free: 2.559 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.82e-07/0.002452, allocations: 0 / 452 MB, free: 2.559 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.002661, allocations: 62.16 kB / 452.1 MB, free: 2.5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.379e-05/0.002705, allocations: 9.719 kB / 452.1 MB, free: 2.496 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.002746, allocations: 4 kB / 452.1 MB, free: 2.492 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.002782, allocations: 1.094 kB / 452.1 MB, free: 2.492 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.002835, allocations: 3.984 kB / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.002844, allocations: 0 / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.003094, allocations: 125.9 kB / 452.2 MB, free: 2.367 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.003109, allocations: 4.656 kB / 452.2 MB, free: 2.363 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.181e-05/0.00312, allocations: 0.7656 kB / 452.2 MB, free: 2.363 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.003258, allocations: 56.55 kB / 452.3 MB, free: 2.309 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.003269, allocations: 2.406 kB / 452.3 MB, free: 2.309 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.00327, allocations: 0.875 kB / 452.3 MB, free: 2.309 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.003278, allocations: 4 kB / 452.3 MB, free: 2.305 MB / 426.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.000238/0.003516, allocations: 232.6 kB / 452.5 MB, free: 2.055 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.003544, allocations: 8.031 kB / 452.5 MB, free: 2.047 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.003568, allocations: 1.703 kB / 452.5 MB, free: 2.047 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.771e-05/0.003625, allocations: 110.5 kB / 452.6 MB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-06/0.003633, allocations: 384 / 452.6 MB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.00364, allocations: 2.344 kB / 452.6 MB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.708e-05/0.003708, allocations: 34.2 kB / 452.7 MB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.003713, allocations: 192 / 452.7 MB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-06/0.003718, allocations: 384 / 452.7 MB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.003724, allocations: 5.484 kB / 452.7 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.255e-06/0.003732, allocations: 1.156 kB / 452.7 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.584e-05/0.003798, allocations: 57.05 kB / 452.7 MB, free: 1.801 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.865e-05/0.003827, allocations: 14.58 kB / 452.7 MB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.003839, allocations: 13.56 kB / 452.7 MB, free: 1.762 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.004046, allocations: 46.86 kB / 452.8 MB, free: 1.719 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.004066, allocations: 36.88 kB / 452.8 MB, free: 1.676 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.004067, allocations: 0 / 452.8 MB, free: 1.676 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 7.882e-05/0.004145, allocations: 29.7 kB / 452.9 MB, free: 1.641 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.004178, allocations: 52.17 kB / 452.9 MB, free: 1.578 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.45e-05/0.004202, allocations: 89.86 kB / 453 MB, free: 1.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.004212, allocations: 30.61 kB / 453 MB, free: 1.445 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.75e-05/0.004229, allocations: 84.14 kB / 453.1 MB, free: 1.359 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.004255, allocations: 3.984 kB / 453.1 MB, free: 1.355 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.004273, allocations: 10.31 kB / 453.1 MB, free: 1.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.00434, allocations: 316.1 kB / 453.4 MB, free: 1.023 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-06/0.004346, allocations: 4.656 kB / 453.4 MB, free: 1.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-06/0.00435, allocations: 0 / 453.4 MB, free: 1.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.237e-05/0.004373, allocations: 13.7 kB / 453.4 MB, free: 1.004 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.004375, allocations: 0 / 453.4 MB, free: 1.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.499e-05/0.00441, allocations: 34.5 kB / 453.5 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.004422, allocations: 4 kB / 453.5 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.004427, allocations: 1.281 kB / 453.5 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.00444, allocations: 1.312 kB / 453.5 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.769e-05/0.004487, allocations: 4 kB / 453.5 MB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-06/0.00449, allocations: 0 / 453.5 MB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.708e-06/0.0045, allocations: 2.062 kB / 453.5 MB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.004506, allocations: 4.469 kB / 453.5 MB, free: 0.9531 MB / 426.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 5.853e-05/0.004564, allocations: 115.6 kB / 453.6 MB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-06/0.004568, allocations: 0 / 453.6 MB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.642e-05/0.004645, allocations: 45.69 kB / 453.7 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.004646, allocations: 0.9688 kB / 453.7 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.004648, allocations: 0 / 453.7 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.004651, allocations: 0.6562 kB / 453.7 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.118e-05/0.004702, allocations: 63.28 kB / 453.7 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.004704, allocations: 4 kB / 453.7 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-06/0.004713, allocations: 0 / 453.7 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.00472, allocations: 11.97 kB / 453.7 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.004722, allocations: 1.531 kB / 453.7 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.004727, allocations: 5.094 kB / 453.7 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.004728, allocations: 1.438 kB / 453.7 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.004729, allocations: 0 / 453.7 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.945e-05/0.004778, allocations: 57.02 kB / 453.8 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-06/0.004785, allocations: 0.8438 kB / 453.8 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.376e-06/0.004789, allocations: 4 kB / 453.8 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003289/0.005118, allocations: 3.984 kB / 453.8 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.005121, allocations: 0.7812 kB / 453.8 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.973e-06/0.005128, allocations: 4.859 kB / 453.8 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005128, allocations: 0.875 kB / 453.8 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001104/0.005238, allocations: 12.92 kB / 453.8 MB, free: 0.5781 MB / 426.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.0001291/0.005367, allocations: 97.41 kB / 453.9 MB, free: 484 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.005e-05/0.005417, allocations: 10.14 kB / 453.9 MB, free: 472 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.005421, allocations: 0.625 kB / 453.9 MB, free: 472 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.918e-06/0.00543, allocations: 10.47 kB / 453.9 MB, free: 460 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.941e-05/0.00548, allocations: 12.55 kB / 454 MB, free: 448 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001316/0.005611, allocations: 75.81 kB / 454 MB, free: 348 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.667e-05/0.005638, allocations: 63.78 kB / 454.1 MB, free: 264 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.648e-05/0.005655, allocations: 5.328 kB / 454.1 MB, free: 260 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.005679, allocations: 51.36 kB / 454.1 MB, free: 208 kB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.00568, allocations: 0.5312 kB / 454.1 MB, free: 208 kB / 426.7 MB Notification: Performance of Templates: time 0.001729/0.007409, allocations: 476.8 kB / 454.6 MB, free: 15.77 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.6068629045039415]