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.0007243/0.0007243, allocations: 115 kB / 19.7 MB, free: 0.5312 MB / 13.93 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.0008168/0.0008168, allocations: 203.2 kB / 23 MB, free: 3.129 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.884/0.884, allocations: 230.6 MB / 256.8 MB, free: 3.574 MB / 202.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.7461/0.7461, allocations: 203.8 MB / 0.5049 GB, free: 0.7695 MB / 410.7 MB " [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: 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.0008345/0.0008345, allocations: 59.91 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4453, allocations: 102 MB / 0.8191 GB, free: 25.3 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001318/0.4466, allocations: 0.5853 MB / 0.8197 GB, free: 24.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.4478, allocations: 1.346 MB / 0.821 GB, free: 23.97 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.606e-05/0.4478, allocations: 2.5 kB / 0.821 GB, free: 23.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.4478, allocations: 0 / 0.821 GB, free: 23.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.523e-06/0.4478, allocations: 0 / 0.821 GB, free: 23.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.4482, allocations: 72.34 kB / 0.8211 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 4.95e-05/0.4482, allocations: 3.578 kB / 0.8211 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.4483, allocations: 2.531 kB / 0.8211 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 1.589e-05/0.4483, allocations: 1.125 kB / 0.8211 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.422e-05/0.4483, allocations: 2.906 kB / 0.8211 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.4483, allocations: 0.75 kB / 0.8211 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.4486, allocations: 120 kB / 0.8212 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.276e-06/0.4486, allocations: 3.984 kB / 0.8212 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.4486, allocations: 5.516 kB / 0.8212 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.4488, allocations: 60.64 kB / 0.8213 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4488, allocations: 0 / 0.8213 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4488, allocations: 1.531 kB / 0.8213 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4488, allocations: 0.9688 kB / 0.8213 GB, free: 23.88 MB / 0.6355 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.0002162/0.449, allocations: 256.8 kB / 0.8215 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.449, allocations: 10.56 kB / 0.8215 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.4491, allocations: 1.875 kB / 0.8215 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.486e-05/0.4491, allocations: 104.5 kB / 0.8216 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.4491, allocations: 1.906 kB / 0.8216 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.4491, allocations: 2.281 kB / 0.8216 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.203e-05/0.4492, allocations: 32.84 kB / 0.8217 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.4492, allocations: 0.75 kB / 0.8217 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.4492, allocations: 0.9375 kB / 0.8217 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4492, allocations: 1.25 kB / 0.8217 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.4492, allocations: 10.55 kB / 0.8217 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.844e-05/0.4493, allocations: 120.6 kB / 0.8218 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 2.871e-05/0.4493, allocations: 19.42 kB / 0.8218 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.4493, allocations: 6.844 kB / 0.8218 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.4496, allocations: 38.09 kB / 0.8219 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.4496, allocations: 36.22 kB / 0.8219 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.4496, allocations: 3.5 kB / 0.8219 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001074/0.4497, allocations: 39.64 kB / 0.8219 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/0.4497, allocations: 53.3 kB / 0.822 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.098e-05/0.4498, allocations: 89.86 kB / 0.8221 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-06/0.4498, allocations: 33.58 kB / 0.8221 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.943e-06/0.4498, allocations: 81.42 kB / 0.8222 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.4498, allocations: 0.5625 kB / 0.8222 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.4498, allocations: 15.17 kB / 0.8222 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.016e-05/0.4498, allocations: 316.9 kB / 0.8225 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-06/0.4498, allocations: 0 / 0.8225 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-06/0.4499, allocations: 2 kB / 0.8225 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/0.4499, allocations: 7.953 kB / 0.8225 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4499, allocations: 4 kB / 0.8225 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.971e-05/0.4499, allocations: 37.58 kB / 0.8226 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4499, allocations: 9.125 kB / 0.8226 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4499, allocations: 0.5625 kB / 0.8226 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.4499, allocations: 1.188 kB / 0.8226 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.071e-05/0.45, allocations: 1.656 kB / 0.8226 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.45, allocations: 0.9375 kB / 0.8226 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-06/0.45, allocations: 0.7031 kB / 0.8226 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.45, allocations: 0.8438 kB / 0.8226 GB, free: 22.51 MB / 0.6355 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 3.14e-05/0.45, allocations: 116.6 kB / 0.8227 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-06/0.45, allocations: 4.75 kB / 0.8227 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.69e-05/0.4501, allocations: 44.69 kB / 0.8227 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4501, allocations: 0.875 kB / 0.8227 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4501, allocations: 0 / 0.8227 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4501, allocations: 1.203 kB / 0.8227 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.452e-05/0.4501, allocations: 115.5 kB / 0.8228 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4501, allocations: 1.844 kB / 0.8228 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-06/0.4501, allocations: 4.969 kB / 0.8228 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4502, allocations: 8.953 kB / 0.8229 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.4502, allocations: 1.516 kB / 0.8229 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.4502, allocations: 0 / 0.8229 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.4502, allocations: 0 / 0.8229 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.413e-05/0.4502, allocations: 58.12 kB / 0.8229 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-06/0.4502, allocations: 1.328 kB / 0.8229 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.4502, allocations: 14.05 kB / 0.8229 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-06/0.4502, allocations: 0 / 0.8229 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/0.4502, allocations: 1.312 kB / 0.8229 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.4502, allocations: 0.5312 kB / 0.8229 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.758e-06/0.4502, allocations: 88.77 kB / 0.823 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4502, allocations: 0 / 0.823 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000133/0.4504, allocations: 11.67 kB / 0.823 GB, free: 22.01 MB / 0.6355 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.0001129/0.4505, allocations: 111.9 kB / 0.8231 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.773e-05/0.4505, allocations: 8.109 kB / 0.8231 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4505, allocations: 0 / 0.8231 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/0.4505, allocations: 6.875 kB / 0.8231 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.236e-05/0.4506, allocations: 1.375 kB / 0.8231 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001426/0.4508, allocations: 110.7 kB / 0.8233 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.361e-05/0.4508, allocations: 0.6718 MB / 0.8239 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.14e-05/0.4509, allocations: 8 kB / 0.8239 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.4509, allocations: 0 / 0.8239 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.001493/0.4523, allocations: 0.5117 MB / 0.8244 GB, free: 21.03 MB / 0.6355 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.439861039165407] Failed to read output from testmodel.py, exit status != 0: 0.4577677131164819 0.46602788900000003 0.015528804 Calling exit ...