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.001089/0.001089, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.002201, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007345/0.0007345, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009304/0.001665, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.954/0.954, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08738/1.041, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.777/0.777, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.3075/1.084, allocations: 49.13 MB / 448.4 MB, free: 6.02 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.854e-06/1.854e-06, allocations: 0 / 449.8 MB, free: 4.664 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.388e-05, allocations: 3.156 kB / 449.8 MB, free: 4.66 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001454/0.001478, allocations: 0.6359 MB / 450.4 MB, free: 4.059 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.002837, allocations: 1.333 MB / 451.7 MB, free: 2.719 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.016e-05/0.002848, allocations: 0 / 451.7 MB, free: 2.719 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.098e-06/0.002852, allocations: 1.906 kB / 451.7 MB, free: 2.719 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.82e-07/0.002853, allocations: 0 / 451.7 MB, free: 2.719 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.003069, allocations: 57.33 kB / 451.8 MB, free: 2.664 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.036e-05/0.003109, allocations: 4.656 kB / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.003145, allocations: 5.359 kB / 451.8 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.193e-05/0.003177, allocations: 4.5 kB / 451.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.003222, allocations: 6.031 kB / 451.8 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.003231, allocations: 0 / 451.8 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006345/0.009576, allocations: 120.7 kB / 451.9 MB, free: 2.531 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.667e-06/0.009585, allocations: 0 / 451.9 MB, free: 2.531 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.273e-05/0.009598, allocations: 1.453 kB / 451.9 MB, free: 2.531 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.009746, allocations: 64.53 kB / 452 MB, free: 2.469 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.858e-05/0.009765, allocations: 5.906 kB / 452 MB, free: 2.465 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.009766, allocations: 0.875 kB / 452 MB, free: 2.465 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.009784, allocations: 0 / 452 MB, free: 2.465 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.0002886/0.01007, allocations: 228.6 kB / 452.2 MB, free: 2.219 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.01011, allocations: 12.03 kB / 452.2 MB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.01013, allocations: 6.156 kB / 452.2 MB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.228e-05/0.0102, allocations: 102.4 kB / 452.3 MB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.01021, allocations: 4.375 kB / 452.3 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.01022, allocations: 6.031 kB / 452.3 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.025e-05/0.01029, allocations: 26.27 kB / 452.4 MB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.01029, allocations: 192 / 452.4 MB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.0103, allocations: 4.906 kB / 452.4 MB, free: 2.035 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.01031, allocations: 5.938 kB / 452.4 MB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.487e-05/0.01032, allocations: 4 kB / 452.4 MB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.881e-05/0.0104, allocations: 60.73 kB / 452.4 MB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.829e-05/0.01044, allocations: 18.61 kB / 452.5 MB, free: 1.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/0.01045, allocations: 5.516 kB / 452.5 MB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.01072, allocations: 45.52 kB / 452.5 MB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.01074, allocations: 31.41 kB / 452.5 MB, free: 1.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.01074, allocations: 4 kB / 452.5 MB, free: 1.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001095/0.01085, allocations: 34.25 kB / 452.6 MB, free: 1.797 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.01088, allocations: 56.91 kB / 452.6 MB, free: 1.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.971e-05/0.01091, allocations: 90.52 kB / 452.7 MB, free: 1.633 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.01092, allocations: 25.7 kB / 452.8 MB, free: 1.602 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.149e-05/0.01095, allocations: 80.14 kB / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.01097, allocations: 2.094 kB / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.011, allocations: 13.72 kB / 452.8 MB, free: 1.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.185e-05/0.01108, allocations: 318.8 kB / 453.2 MB, free: 1.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.01109, allocations: 1.094 kB / 453.2 MB, free: 1.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.01109, allocations: 0 / 453.2 MB, free: 1.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.94e-05/0.01112, allocations: 13.75 kB / 453.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01112, allocations: 1 kB / 453.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.483e-05/0.01117, allocations: 33.64 kB / 453.2 MB, free: 1.125 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.01118, allocations: 8.875 kB / 453.2 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01119, allocations: 1.312 kB / 453.2 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.0112, allocations: 0 / 453.2 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.551e-05/0.01124, allocations: 0.5938 kB / 453.2 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.01125, allocations: 0.6562 kB / 453.2 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.311e-05/0.01126, allocations: 6.828 kB / 453.2 MB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.01127, allocations: 4.469 kB / 453.2 MB, free: 1.109 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.514e-05/0.01132, allocations: 110.4 kB / 453.3 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-06/0.01133, allocations: 0.625 kB / 453.3 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.931e-05/0.01142, allocations: 33.52 kB / 453.4 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.01142, allocations: 1.219 kB / 453.4 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.01142, allocations: 0 / 453.4 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01142, allocations: 4.875 kB / 453.4 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.172e-05/0.01148, allocations: 70.48 kB / 453.4 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01149, allocations: 0 / 453.4 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.0115, allocations: 4.906 kB / 453.4 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-06/0.01151, allocations: 7.984 kB / 453.5 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-06/0.01151, allocations: 0 / 453.5 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.01152, allocations: 9 kB / 453.5 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.01152, allocations: 0 / 453.5 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01152, allocations: 1.594 kB / 453.5 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.58e-05/0.01158, allocations: 61.69 kB / 453.5 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-06/0.01158, allocations: 1.312 kB / 453.5 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.44e-06/0.01159, allocations: 0 / 453.5 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-06/0.0116, allocations: 0 / 453.5 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.0116, allocations: 0.5 kB / 453.5 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.763e-06/0.01161, allocations: 9.625 kB / 453.5 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01161, allocations: 1.375 kB / 453.5 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001459/0.01175, allocations: 7.938 kB / 453.5 MB, free: 0.7461 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.0001533/0.01191, allocations: 101.3 kB / 453.6 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.26e-05/0.01196, allocations: 13.72 kB / 453.7 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.01196, allocations: 0.7188 kB / 453.7 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.823e-06/0.01197, allocations: 5.766 kB / 453.7 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/0.01504, allocations: 11.94 kB / 453.7 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001762/0.01521, allocations: 78.91 kB / 453.8 MB, free: 0.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.895e-05/0.01524, allocations: 59.2 kB / 453.8 MB, free: 432 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.043e-05/0.01526, allocations: 1.438 kB / 453.8 MB, free: 432 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.01529, allocations: 48.16 kB / 453.9 MB, free: 384 kB / 426.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01529, allocations: 0.9844 kB / 453.9 MB, free: 384 kB / 426.7 MB Notification: Performance of Templates: time 0.002062/0.01736, allocations: 476.9 kB / 454.3 MB, free: 15.94 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.5404513981193304]