Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4248/0.4248, allocations: 54.41 MB / 61.89 MB, free: 13.76 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00111/0.00111, allocations: 176.2 kB / 75.6 MB, free: 0.7812 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.784/1.784, allocations: 194.3 MB / 283.5 MB, free: 14.86 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001612/0.001612, allocations: 112 kB / 341.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.047e-05, allocations: 4 kB / 405.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3722, allocations: 57.65 MB / 463.2 MB, free: 51.79 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.4794, allocations: 85.08 MB / 0.5354 GB, free: 116 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.4797, allocations: 79.33 kB / 0.5355 GB, free: 40 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005373/0.485, allocations: 1.818 MB / 0.5372 GB, free: 14.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.4851, allocations: 0 / 0.5372 GB, free: 14.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.4851, allocations: 3.938 kB / 0.5372 GB, free: 14.25 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003355/0.4854, allocations: 344.2 kB / 0.5376 GB, free: 13.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4855, allocations: 15.88 kB / 0.5376 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.4855, allocations: 0 / 0.5376 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.4856, allocations: 160.5 kB / 0.5377 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.4857, allocations: 3.984 kB / 0.5377 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.4857, allocations: 4 kB / 0.5378 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.607e-05/0.4858, allocations: 12 kB / 0.5378 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.787e-05/0.4859, allocations: 46.75 kB / 0.5378 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.4859, allocations: 0 / 0.5378 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.4859, allocations: 0 / 0.5378 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4859, allocations: 1.719 kB / 0.5378 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.4861, allocations: 134.2 kB / 0.5379 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.53e-05/0.4862, allocations: 47.56 kB / 0.538 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.4862, allocations: 16.98 kB / 0.538 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004361/0.4866, allocations: 0.5546 MB / 0.5385 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.4867, allocations: 34.56 kB / 0.5386 GB, free: 12.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.973e-06/0.4867, allocations: 2.203 kB / 0.5386 GB, free: 12.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008201/0.4875, allocations: 352.9 kB / 0.5389 GB, free: 12.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.4876, allocations: 51.41 kB / 0.539 GB, free: 12.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.289e-05/0.4876, allocations: 85.88 kB / 0.539 GB, free: 12.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.4876, allocations: 28.92 kB / 0.5391 GB, free: 12.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.233e-05/0.4877, allocations: 85.36 kB / 0.5392 GB, free: 11.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.4877, allocations: 27.55 kB / 0.5392 GB, free: 11.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.4877, allocations: 2.953 kB / 0.5392 GB, free: 11.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.4878, allocations: 314.8 kB / 0.5395 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.34e-05/0.4879, allocations: 19.94 kB / 0.5395 GB, free: 11.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.4879, allocations: 20 kB / 0.5395 GB, free: 11.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.287e-05/0.488, allocations: 25.17 kB / 0.5395 GB, free: 11.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.488, allocations: 0 / 0.5395 GB, free: 11.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001389/0.4881, allocations: 81.53 kB / 0.5396 GB, free: 11.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4882, allocations: 4 kB / 0.5396 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.4882, allocations: 0 / 0.5396 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.4882, allocations: 3.984 kB / 0.5396 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4883, allocations: 19.95 kB / 0.5396 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4883, allocations: 0 / 0.5396 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.391e-05/0.4884, allocations: 4.125 kB / 0.5397 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.4884, allocations: 4 kB / 0.5397 GB, free: 11.45 MB / 394.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.711e-05/0.4885, allocations: 109 kB / 0.5398 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.4885, allocations: 0 / 0.5398 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.4887, allocations: 99.88 kB / 0.5399 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4888, allocations: 5.188 kB / 0.5399 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4888, allocations: 3.953 kB / 0.5399 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4888, allocations: 0 / 0.5399 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.4889, allocations: 154.2 kB / 0.54 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4889, allocations: 0 / 0.54 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.617e-05/0.489, allocations: 12 kB / 0.54 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.489, allocations: 0 / 0.54 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.489, allocations: 0 / 0.54 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.489, allocations: 5.875 kB / 0.54 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4891, allocations: 8 kB / 0.54 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.4893, allocations: 132.9 kB / 0.5402 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.4893, allocations: 77.11 kB / 0.5402 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.4893, allocations: 0 / 0.5402 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/0.4894, allocations: 8.016 kB / 0.5402 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.4895, allocations: 6.188 kB / 0.5402 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.4895, allocations: 8 kB / 0.5403 GB, free: 10.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.757e-05/0.4895, allocations: 79.34 kB / 0.5403 GB, free: 10.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4895, allocations: 0 / 0.5403 GB, free: 10.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.4897, allocations: 31.92 kB / 0.5404 GB, free: 10.65 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002005/0.4899, allocations: 135.1 kB / 0.5405 GB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.4901, allocations: 43.94 kB / 0.5405 GB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4901, allocations: 4 kB / 0.5405 GB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.649e-05/0.4901, allocations: 24 kB / 0.5406 GB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.4902, allocations: 1.172 kB / 0.5406 GB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.4905, allocations: 106 kB / 0.5407 GB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.4908, allocations: 0.6846 MB / 0.5413 GB, free: 9.598 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.42e-05/0.4909, allocations: 12.19 kB / 0.5413 GB, free: 9.582 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.4909, allocations: 11.44 kB / 0.5414 GB, free: 9.57 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4909, allocations: 0 / 0.5414 GB, free: 9.57 MB / 394.7 MB Notification: Performance of Templates: time 0.002776/0.4937, allocations: 0.7211 MB / 0.5421 GB, free: 8.887 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)