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.001582/0.001582, allocations: 79.44 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001944/0.001944, allocations: 166.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.547/1.547, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.205/1.205, allocations: 154.6 MB / 413.7 MB, free: 5.281 MB / 382.1 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 178] 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 1.633e-06/1.633e-06, allocations: 0 / 0.6186 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.178e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001932/0.001964, allocations: 0.5997 MB / 0.6192 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002202/0.004166, allocations: 1.272 MB / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.678e-05/0.004183, allocations: 0 / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.004196, allocations: 0 / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.424e-06/0.004203, allocations: 0 / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.004639, allocations: 83.53 kB / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.846e-05/0.004687, allocations: 8 kB / 0.6205 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.004733, allocations: 8 kB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.165e-05/0.004764, allocations: 0 / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.004813, allocations: 0 / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.004824, allocations: 4 kB / 0.6205 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.005145, allocations: 103.8 kB / 0.6206 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.005155, allocations: 0 / 0.6206 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.005173, allocations: 4 kB / 0.6206 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.005356, allocations: 75.83 kB / 0.6207 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.005359, allocations: 0 / 0.6207 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.32e-07/0.00536, allocations: 0 / 0.6207 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.005365, allocations: 7.938 kB / 0.6207 GB, free: 2.422 MB / 0.5294 GB 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.0003423/0.005707, allocations: 258.3 kB / 0.6209 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.005748, allocations: 9.469 kB / 0.6209 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.005786, allocations: 0.9375 kB / 0.6209 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.00588, allocations: 105.8 kB / 0.621 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.005891, allocations: 384 / 0.621 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.005899, allocations: 384 / 0.621 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.005999, allocations: 34.25 kB / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.006008, allocations: 192 / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.006016, allocations: 384 / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.006023, allocations: 3.938 kB / 0.6211 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.006044, allocations: 7.938 kB / 0.6211 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.006178, allocations: 109.2 kB / 0.6212 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.893e-05/0.006227, allocations: 22.56 kB / 0.6212 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.006247, allocations: 8.953 kB / 0.6212 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003394/0.006586, allocations: 39.95 kB / 0.6213 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.006618, allocations: 30.56 kB / 0.6213 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.006619, allocations: 3.938 kB / 0.6213 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.000137/0.006756, allocations: 41.64 kB / 0.6213 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.006806, allocations: 55.34 kB / 0.6214 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/0.006862, allocations: 93.86 kB / 0.6215 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.006878, allocations: 25.7 kB / 0.6215 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.006913, allocations: 80.14 kB / 0.6216 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.006938, allocations: 0 / 0.6216 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.00697, allocations: 17.7 kB / 0.6216 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.007186, allocations: 310.8 kB / 0.6219 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.739e-06/0.007196, allocations: 0 / 0.6219 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-06/0.007205, allocations: 4.125 kB / 0.6219 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.00724, allocations: 12.92 kB / 0.6219 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.007242, allocations: 4 kB / 0.6219 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.977e-05/0.007301, allocations: 33.64 kB / 0.6219 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.007315, allocations: 4 kB / 0.6219 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.007319, allocations: 3.938 kB / 0.6219 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.007333, allocations: 0 / 0.6219 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.512e-05/0.007378, allocations: 7.984 kB / 0.622 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.007384, allocations: 3.938 kB / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.046e-05/0.007395, allocations: 0 / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.007401, allocations: 4.031 kB / 0.622 GB, free: 0.9414 MB / 0.5294 GB 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.723e-05/0.007478, allocations: 110.8 kB / 0.6221 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/0.007485, allocations: 0 / 0.6221 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.0076, allocations: 44.64 kB / 0.6221 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.007601, allocations: 0 / 0.6221 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.007607, allocations: 4 kB / 0.6221 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.007611, allocations: 3.938 kB / 0.6221 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.488e-05/0.007686, allocations: 93.33 kB / 0.6222 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.007687, allocations: 7.969 kB / 0.6222 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.007704, allocations: 4 kB / 0.6222 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.007708, allocations: 4 kB / 0.6222 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.007713, allocations: 0 / 0.6222 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.007714, allocations: 0 / 0.6222 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.007715, allocations: 0 / 0.6222 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.692e-05/0.007792, allocations: 65.06 kB / 0.6223 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-06/0.007795, allocations: 0 / 0.6223 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.007804, allocations: 0 / 0.6223 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.007813, allocations: 0 / 0.6223 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.007825, allocations: 4 kB / 0.6223 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.007828, allocations: 4.031 kB / 0.6223 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.821e-05/0.007866, allocations: 79.22 kB / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.007866, allocations: 0 / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001897/0.008056, allocations: 15.92 kB / 0.6224 GB, free: 456 kB / 0.5294 GB 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.0001819/0.008237, allocations: 107.2 kB / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.181e-05/0.008309, allocations: 11.92 kB / 0.6225 GB, free: 324 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.008311, allocations: 0 / 0.6225 GB, free: 324 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.001e-06/0.008317, allocations: 0 / 0.6225 GB, free: 324 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.008442, allocations: 12.12 kB / 0.6225 GB, free: 312 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002154/0.008657, allocations: 76.81 kB / 0.6226 GB, free: 208 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.175e-05/0.008709, allocations: 55.36 kB / 0.6226 GB, free: 132 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.737e-05/0.008727, allocations: 0 / 0.6226 GB, free: 132 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.008749, allocations: 16.48 kB / 0.6226 GB, free: 116 kB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.008749, allocations: 0 / 0.6226 GB, free: 116 kB / 0.5294 GB Notification: Performance of Templates: time 0.00281/0.01156, allocations: 392.4 kB / 0.623 GB, free: 15.73 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.873512525111437] Failed to read output from testmodel.py, exit status != 0: 0.02045612409710884 0.034067147 0.025669416 Calling exit ...