Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7686/0.7686, allocations: 130.5 MB / 143.8 MB, free: 13.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.3 MB / 396.8 MB, free: 9.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009105/0.0009107, allocations: 98.03 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.627e-05, allocations: 5.062 kB / 0.5551 GB, free: 86.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1552, allocations: 81.58 MB / 0.6348 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.612/0.7672, allocations: 111.6 MB / 0.7437 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.7675, allocations: 81.59 kB / 0.7438 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006639/0.7741, allocations: 2.382 MB / 0.7461 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7741, allocations: 0 / 0.7461 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.7742, allocations: 0 / 0.7461 GB, free: 27.85 MB / 0.5105 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.0002855/0.7745, allocations: 349.8 kB / 0.7465 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.7745, allocations: 7.875 kB / 0.7465 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.7745, allocations: 7.656 kB / 0.7465 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.819e-05/0.7746, allocations: 167 kB / 0.7466 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.7747, allocations: 7.984 kB / 0.7466 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.7747, allocations: 7.375 kB / 0.7466 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.7748, allocations: 51.03 kB / 0.7467 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.7748, allocations: 3.812 kB / 0.7467 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.7748, allocations: 0 / 0.7467 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.7749, allocations: 0 / 0.7467 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.005e-05/0.7749, allocations: 21.83 kB / 0.7467 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.7751, allocations: 178.6 kB / 0.7469 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.378e-05/0.7752, allocations: 66.64 kB / 0.747 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.7752, allocations: 23.58 kB / 0.747 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004352/0.7757, allocations: 0.5537 MB / 0.7475 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.7757, allocations: 37.12 kB / 0.7475 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.7757, allocations: 0 / 0.7475 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.01409/0.7898, allocations: 3.632 MB / 0.7511 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.7899, allocations: 63.33 kB / 0.7512 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.5e-05/0.79, allocations: 85 kB / 0.7512 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.924e-05/0.7901, allocations: 29.33 kB / 0.7513 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.7901, allocations: 83.98 kB / 0.7513 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.247e-05/0.7902, allocations: 52.45 kB / 0.7514 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.7903, allocations: 3.844 kB / 0.7514 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7904, allocations: 317.8 kB / 0.7517 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.7908, allocations: 300.5 kB / 0.752 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.7912, allocations: 302 kB / 0.7523 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006022/0.7918, allocations: 370.5 kB / 0.7526 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.7918, allocations: 0 / 0.7526 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001263/0.7931, allocations: 0.7676 MB / 0.7534 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.7931, allocations: 7.719 kB / 0.7534 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.7932, allocations: 80 / 0.7534 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.7932, allocations: 0 / 0.7534 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008288/0.794, allocations: 91.16 kB / 0.7535 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.794, allocations: 11.8 kB / 0.7535 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004812/0.7945, allocations: 11.55 kB / 0.7535 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/0.7946, allocations: 32.75 kB / 0.7535 GB, free: 24.72 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001879/0.7948, allocations: 123.8 kB / 0.7536 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.7949, allocations: 7.781 kB / 0.7537 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002966/0.7979, allocations: 1.359 MB / 0.755 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.7979, allocations: 3.875 kB / 0.755 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7979, allocations: 0 / 0.755 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.7979, allocations: 6.922 kB / 0.755 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.8003, allocations: 1.788 MB / 0.7567 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.8003, allocations: 0 / 0.7567 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/0.801, allocations: 109 kB / 0.7568 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.8011, allocations: 3.953 kB / 0.7568 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.313e-05/0.8011, allocations: 26.78 kB / 0.7569 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.8011, allocations: 4 kB / 0.7569 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.8011, allocations: 6.781 kB / 0.7569 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.803, allocations: 1.434 MB / 0.7583 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.803, allocations: 96.66 kB / 0.7584 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/0.8031, allocations: 7.031 kB / 0.7584 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/0.8036, allocations: 15.25 kB / 0.7584 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.8037, allocations: 39.69 kB / 0.7584 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.288e-05/0.8038, allocations: 33.31 kB / 0.7585 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.8038, allocations: 82.38 kB / 0.7585 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8038, allocations: 0 / 0.7585 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005235/0.8044, allocations: 205.8 kB / 0.7587 GB, free: 23.51 MB / 0.5105 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 () * 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 (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.0004509/0.8048, allocations: 248.5 kB / 0.759 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009661/0.8058, allocations: 0.7048 MB / 0.7597 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.8058, allocations: 4.031 kB / 0.7597 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.8063, allocations: 445.7 kB / 0.7601 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.8065, allocations: 8.281 kB / 0.7601 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.8093, allocations: 0.7243 MB / 0.7608 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.8096, allocations: 0.7209 MB / 0.7615 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00128/0.8109, allocations: 292.1 kB / 0.7618 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005085/0.8114, allocations: 95.28 kB / 0.7619 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/0.8114, allocations: 7.875 kB / 0.7619 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.01176/0.8232, allocations: 10.08 MB / 0.7717 GB, free: 18.1 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)