Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.0007541/0.0007541, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0007533/0.0007533, allocations: 211.2 kB / 23 MB, free: 2.977 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.8894/0.8894, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.774/0.774, allocations: 203.8 MB / 0.5049 GB, free: 10.48 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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [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.0009259/0.0009259, allocations: 66.77 kB / 0.7194 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4584, allocations: 102 MB / 0.8191 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001343/0.4598, allocations: 0.6086 MB / 0.8197 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.4609, allocations: 1.315 MB / 0.8209 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.4609, allocations: 0 / 0.8209 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.4609, allocations: 7.938 kB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.986e-05/0.4609, allocations: 0 / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.4613, allocations: 86.62 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.85e-05/0.4614, allocations: 20.34 kB / 0.8211 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.4614, allocations: 4.406 kB / 0.8211 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.366e-05/0.4615, allocations: 19.83 kB / 0.8211 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.983e-05/0.4615, allocations: 15.55 kB / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.4615, allocations: 3.688 kB / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.4618, allocations: 104.5 kB / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.4618, allocations: 9.266 kB / 0.8212 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.4618, allocations: 10.17 kB / 0.8212 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.462, allocations: 75.45 kB / 0.8213 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.462, allocations: 1.281 kB / 0.8213 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.462, allocations: 0 / 0.8213 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.462, allocations: 0 / 0.8213 GB, free: 15.89 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003748/0.4623, allocations: 283.8 kB / 0.8216 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.4624, allocations: 9.297 kB / 0.8216 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.4624, allocations: 3.281 kB / 0.8216 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.282e-05/0.4625, allocations: 106.9 kB / 0.8217 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.4625, allocations: 4.375 kB / 0.8217 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.4625, allocations: 11.55 kB / 0.8217 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.4627, allocations: 82.22 kB / 0.8218 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.4627, allocations: 0.75 kB / 0.8218 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4627, allocations: 5.656 kB / 0.8218 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4627, allocations: 0 / 0.8218 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.632e-05/0.4627, allocations: 22.81 kB / 0.8218 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.4629, allocations: 105.6 kB / 0.8219 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.463, allocations: 56.25 kB / 0.8219 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.463, allocations: 34.14 kB / 0.822 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.4632, allocations: 40 kB / 0.822 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.4632, allocations: 37 kB / 0.8221 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.4632, allocations: 0 / 0.8221 GB, free: 15.16 MB / 0.6198 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01109/0.4743, allocations: 4.173 MB / 0.8261 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.4743, allocations: 52.88 kB / 0.8262 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.132e-05/0.4744, allocations: 97.62 kB / 0.8263 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.4744, allocations: 26.41 kB / 0.8263 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.146e-05/0.4745, allocations: 85.44 kB / 0.8264 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.728e-05/0.4746, allocations: 58.73 kB / 0.8264 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.4747, allocations: 97.17 kB / 0.8265 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.302e-05/0.4748, allocations: 319.9 kB / 0.8268 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.4752, allocations: 311.3 kB / 0.8271 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.4756, allocations: 310.5 kB / 0.8274 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.4767, allocations: 0.7772 MB / 0.8282 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4767, allocations: 4.562 kB / 0.8282 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001214/0.478, allocations: 0.8012 MB / 0.829 GB, free: 12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.478, allocations: 5.25 kB / 0.829 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.478, allocations: 0.6094 kB / 0.829 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.478, allocations: 1 kB / 0.829 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.4784, allocations: 91.5 kB / 0.8291 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4784, allocations: 2.062 kB / 0.8291 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.4786, allocations: 6.328 kB / 0.8291 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/0.4787, allocations: 40.14 kB / 0.8291 GB, free: 11.99 MB / 0.6198 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 (18): * Single equations (assignments): 18 * 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 0.0001414/0.4788, allocations: 123 kB / 0.8292 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.4789, allocations: 7.297 kB / 0.8292 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.4808, allocations: 1.401 MB / 0.8306 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4808, allocations: 8.297 kB / 0.8306 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4808, allocations: 0 / 0.8306 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.4808, allocations: 7.5 kB / 0.8306 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.4828, allocations: 1.657 MB / 0.8322 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4828, allocations: 1.156 kB / 0.8322 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.4832, allocations: 104.7 kB / 0.8323 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.4832, allocations: 2.797 kB / 0.8323 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.4833, allocations: 30.89 kB / 0.8324 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.4833, allocations: 3 kB / 0.8324 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.4833, allocations: 11.88 kB / 0.8324 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.485, allocations: 1.474 MB / 0.8338 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.485, allocations: 15.16 kB / 0.8338 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.4851, allocations: 14.25 kB / 0.8338 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.4853, allocations: 11.27 kB / 0.8339 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.4854, allocations: 47.39 kB / 0.8339 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.4854, allocations: 32.77 kB / 0.8339 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.603e-05/0.4855, allocations: 77.25 kB / 0.834 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4855, allocations: 0 / 0.834 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000495/0.486, allocations: 185.7 kB / 0.8342 GB, free: 9.312 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * 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 (40): * Single equations (assignments): 40 * 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.0004019/0.4864, allocations: 232.6 kB / 0.8344 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009288/0.4873, allocations: 0.7154 MB / 0.8351 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4873, allocations: 0 / 0.8351 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.4877, allocations: 402.2 kB / 0.8355 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.488, allocations: 16.31 kB / 0.8355 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.4898, allocations: 0.8157 MB / 0.8363 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.076e-05/0.4899, allocations: 105.3 kB / 0.8364 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/0.4903, allocations: 95.64 kB / 0.8365 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.4903, allocations: 0 / 0.8365 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.008199/0.4985, allocations: 7.12 MB / 0.8434 GB, free: 5.555 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.723870730958879] Failed to read output from testmodel.py, exit status != 0: 0.5041570630855858 0.513177269 0.049384221000000006 Calling exit ...