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.001954/0.001954, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002256/0.002256, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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.313/1.313, allocations: 203.8 MB / 0.5041 GB, free: 4.621 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 67.89 kB / 0.7187 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6267/0.6288, allocations: 102 MB / 0.8183 GB, free: 28.93 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002028/0.6308, allocations: 0.5838 MB / 0.8189 GB, free: 28.59 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.6327, allocations: 1.279 MB / 0.8201 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.6327, allocations: 0.5938 kB / 0.8201 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.6327, allocations: 0 / 0.8201 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.706e-06/0.6327, allocations: 3.156 kB / 0.8201 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.6331, allocations: 71.72 kB / 0.8202 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 5.101e-05/0.6332, allocations: 2.125 kB / 0.8202 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.6332, allocations: 2.062 kB / 0.8202 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 1.394e-05/0.6332, allocations: 0 / 0.8202 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.6333, allocations: 7.281 kB / 0.8202 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.6333, allocations: 1.25 kB / 0.8202 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.6337, allocations: 111.9 kB / 0.8203 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.6337, allocations: 0 / 0.8203 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.6337, allocations: 6.281 kB / 0.8203 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.6339, allocations: 63.53 kB / 0.8204 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6339, allocations: 2.094 kB / 0.8204 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6339, allocations: 0.5625 kB / 0.8204 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.6339, allocations: 1.281 kB / 0.8204 GB, free: 27.6 MB / 0.6387 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.0003236/0.6342, allocations: 249.4 kB / 0.8206 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.6342, allocations: 10.59 kB / 0.8206 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.6343, allocations: 6.391 kB / 0.8206 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.57e-05/0.6344, allocations: 108.5 kB / 0.8207 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.6344, allocations: 6.375 kB / 0.8208 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.6344, allocations: 5.703 kB / 0.8208 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.6345, allocations: 33.25 kB / 0.8208 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.6345, allocations: 0.7188 kB / 0.8208 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.6345, allocations: 0.75 kB / 0.8208 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6345, allocations: 1.844 kB / 0.8208 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.719e-05/0.6345, allocations: 5.594 kB / 0.8208 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001103/0.6347, allocations: 96.86 kB / 0.8209 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.815e-05/0.6347, allocations: 20.89 kB / 0.8209 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.6347, allocations: 6.688 kB / 0.8209 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000387/0.6351, allocations: 40.45 kB / 0.821 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.6351, allocations: 32.19 kB / 0.821 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.6351, allocations: 3.375 kB / 0.821 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001547/0.6353, allocations: 40.61 kB / 0.821 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.6353, allocations: 52.66 kB / 0.8211 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.397e-05/0.6354, allocations: 90.7 kB / 0.8212 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.6354, allocations: 25.7 kB / 0.8212 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 1.773e-05/0.6354, allocations: 81.17 kB / 0.8213 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.6354, allocations: 4 kB / 0.8213 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.6354, allocations: 13.05 kB / 0.8213 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.6355, allocations: 314.3 kB / 0.8216 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.6355, allocations: 1.312 kB / 0.8216 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-06/0.6355, allocations: 2.328 kB / 0.8216 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.796e-05/0.6355, allocations: 11.3 kB / 0.8216 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6355, allocations: 3.062 kB / 0.8216 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.821e-05/0.6356, allocations: 39.59 kB / 0.8216 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.6356, allocations: 7.562 kB / 0.8216 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.6356, allocations: 1.031 kB / 0.8216 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.6356, allocations: 8.469 kB / 0.8217 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.6357, allocations: 6.156 kB / 0.8217 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.6357, allocations: 0 / 0.8217 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.258e-05/0.6357, allocations: 0.9688 kB / 0.8217 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.6357, allocations: 1.172 kB / 0.8217 GB, free: 26.26 MB / 0.6387 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 6.001e-05/0.6358, allocations: 108.5 kB / 0.8218 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-06/0.6358, allocations: 0.5938 kB / 0.8218 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.6359, allocations: 53.17 kB / 0.8218 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.6359, allocations: 0.5625 kB / 0.8218 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.6359, allocations: 0.5 kB / 0.8218 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6359, allocations: 0.5 kB / 0.8218 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.669e-05/0.636, allocations: 100.2 kB / 0.8219 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.636, allocations: 0 / 0.8219 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.614e-05/0.636, allocations: 3.594 kB / 0.8219 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.636, allocations: 0 / 0.8219 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.636, allocations: 0.7031 kB / 0.8219 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.636, allocations: 9.344 kB / 0.8219 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.636, allocations: 0 / 0.8219 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.891e-05/0.636, allocations: 62.62 kB / 0.822 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.636, allocations: 2.531 kB / 0.822 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.6361, allocations: 0.7031 kB / 0.822 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.6361, allocations: 3.938 kB / 0.822 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.6361, allocations: 6.094 kB / 0.822 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.6361, allocations: 0 / 0.822 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 1.546e-05/0.6361, allocations: 77.75 kB / 0.8221 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4e-08/0.6361, allocations: 0 / 0.8221 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002138/0.6363, allocations: 12.12 kB / 0.8221 GB, free: 25.81 MB / 0.6387 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.0001559/0.6365, allocations: 112.1 kB / 0.8222 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.911e-05/0.6366, allocations: 8.094 kB / 0.8222 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6366, allocations: 0.8125 kB / 0.8222 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 9.848e-06/0.6366, allocations: 2.859 kB / 0.8222 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.6367, allocations: 5.656 kB / 0.8222 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001646/0.6369, allocations: 80.31 kB / 0.8223 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.397e-05/0.6369, allocations: 59.36 kB / 0.8223 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 1.838e-05/0.6369, allocations: 5.25 kB / 0.8223 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.6369, allocations: 8.781 kB / 0.8224 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of SimCode: time 2.6e-07/0.6369, allocations: 0 / 0.8224 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of Templates: time 0.002963/0.6399, allocations: 382 kB / 0.8227 GB, free: 25.44 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.8452229499816895] Failed to read output from testmodel.py, exit status != 0: 0.6490065846592188 0.660777563 0.024256116 Calling exit ...