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.0007422/0.0007422, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007714/0.0007714, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8526/0.8526, allocations: 177.1 MB / 203.5 MB, free: 5.758 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-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 0.6992/0.6992, allocations: 154.5 MB / 414.5 MB, free: 0.8438 MB / 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 1.283e-06/1.283e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.032e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0009923/0.001013, allocations: 0.5877 MB / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.002204, allocations: 1.279 MB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.634e-05/0.00222, allocations: 0 / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.002235, allocations: 0 / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.374e-06/0.002243, allocations: 0 / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.002584, allocations: 79.56 kB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.226e-05/0.002626, allocations: 0 / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.002667, allocations: 7.922 kB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.002691, allocations: 8 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.00273, allocations: 0 / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.00274, allocations: 0 / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.002974, allocations: 107.9 kB / 0.6214 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.596e-06/0.002982, allocations: 0 / 0.6214 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.402e-05/0.002996, allocations: 0 / 0.6214 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.003123, allocations: 67.84 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.00313, allocations: 4 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003131, allocations: 0 / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.003135, allocations: 0 / 0.6214 GB, free: 11 MB / 0.5886 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.0002313/0.003366, allocations: 254.3 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.003402, allocations: 17.47 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.003429, allocations: 0.9375 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.168e-05/0.00348, allocations: 101.8 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.003491, allocations: 4.359 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.003499, allocations: 8.312 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.22e-05/0.003571, allocations: 26.27 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.003578, allocations: 192 / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.003588, allocations: 4.375 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.003594, allocations: 7.938 kB / 0.6218 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.866e-05/0.003613, allocations: 11.88 kB / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.906e-05/0.003712, allocations: 101.3 kB / 0.6219 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.351e-05/0.003746, allocations: 18.61 kB / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.00376, allocations: 4.859 kB / 0.622 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.004009, allocations: 44.02 kB / 0.622 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.004029, allocations: 34.56 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.00403, allocations: 0 / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001225/0.004153, allocations: 41.72 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.00418, allocations: 59.38 kB / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.496e-05/0.004205, allocations: 89.86 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.004214, allocations: 25.7 kB / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.206e-05/0.004236, allocations: 84.14 kB / 0.6223 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.00426, allocations: 0 / 0.6223 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.004283, allocations: 13.7 kB / 0.6223 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003437/0.004627, allocations: 318.8 kB / 0.6226 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-06/0.004635, allocations: 0 / 0.6226 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-06/0.00464, allocations: 0 / 0.6226 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.168e-05/0.004662, allocations: 8.922 kB / 0.6226 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004664, allocations: 7.938 kB / 0.6227 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.333e-05/0.004697, allocations: 29.7 kB / 0.6227 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.004709, allocations: 8 kB / 0.6227 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.004713, allocations: 0 / 0.6227 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.004724, allocations: 3.984 kB / 0.6227 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-05/0.00476, allocations: 0 / 0.6227 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.004766, allocations: 3.938 kB / 0.6227 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-06/0.004773, allocations: 4 kB / 0.6227 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.004778, allocations: 0 / 0.6227 GB, free: 9.52 MB / 0.5886 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 4.903e-05/0.004827, allocations: 110.9 kB / 0.6228 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-06/0.004831, allocations: 4 kB / 0.6228 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.289e-05/0.004904, allocations: 44.62 kB / 0.6229 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.004905, allocations: 0 / 0.6229 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.004909, allocations: 3.938 kB / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.004913, allocations: 3.938 kB / 0.6229 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.423e-05/0.004957, allocations: 93.33 kB / 0.6229 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.004958, allocations: 0 / 0.6229 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-06/0.004965, allocations: 4 kB / 0.623 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004966, allocations: 4.031 kB / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.004971, allocations: 0 / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.004972, allocations: 0 / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.004973, allocations: 0 / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.796e-05/0.005021, allocations: 65.06 kB / 0.623 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-06/0.005025, allocations: 4 kB / 0.623 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.005035, allocations: 7.938 kB / 0.623 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-06/0.005038, allocations: 0 / 0.623 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.005051, allocations: 3.938 kB / 0.623 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.82e-07/0.005052, allocations: 0 / 0.623 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.383e-05/0.005076, allocations: 87.28 kB / 0.6231 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.005076, allocations: 0 / 0.6231 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001326/0.005208, allocations: 11.98 kB / 0.6231 GB, free: 9.012 MB / 0.5886 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.0001145/0.005323, allocations: 107.2 kB / 0.6232 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.753e-05/0.00538, allocations: 11.98 kB / 0.6232 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.005382, allocations: 0 / 0.6232 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.005386, allocations: 4 kB / 0.6232 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.766e-05/0.005474, allocations: 2.031 kB / 0.6232 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001583/0.005632, allocations: 102.8 kB / 0.6233 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.073e-05/0.005663, allocations: 51.36 kB / 0.6234 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.005677, allocations: 16.48 kB / 0.6234 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.005678, allocations: 3.938 kB / 0.6234 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of Templates: time 0.001338/0.007015, allocations: 0.5113 MB / 0.6239 GB, free: 8.148 MB / 0.5886 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: 4.990100217983127] Failed to read output from testmodel.py, exit status != 0: 0.0112298633903265 0.019812477000000002 0.014746523000000001 Calling exit ...