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.3408/0.3408, allocations: 55.01 MB / 69.96 MB, free: 8.684 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.001133/0.001133, allocations: 191.8 kB / 83.99 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.62/1.62, allocations: 194.4 MB / 292.3 MB, free: 3.566 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001647/0.001647, allocations: 118.9 kB / 350.7 MB, free: 9.082 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 12 kB / 418.9 MB, free: 37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.136, allocations: 57.65 MB / 476.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4368/0.5729, allocations: 85.82 MB / 0.5492 GB, free: 3.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/0.5734, allocations: 83.19 kB / 0.5493 GB, free: 3.453 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005377/0.5788, allocations: 1.837 MB / 0.5511 GB, free: 1.875 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.5788, allocations: 0 / 0.5511 GB, free: 1.875 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.5788, allocations: 0 / 0.5511 GB, free: 1.875 MB / 362.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.0003123/0.5791, allocations: 358.4 kB / 0.5514 GB, free: 1.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5792, allocations: 12.03 kB / 0.5514 GB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.5792, allocations: 0 / 0.5514 GB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.628e-05/0.5793, allocations: 165.9 kB / 0.5516 GB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.5794, allocations: 4 kB / 0.5516 GB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.5794, allocations: 3.438 kB / 0.5516 GB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.5795, allocations: 44.7 kB / 0.5516 GB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.5795, allocations: 0 / 0.5516 GB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.5795, allocations: 3.562 kB / 0.5516 GB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5796, allocations: 0 / 0.5516 GB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.183e-05/0.5796, allocations: 12 kB / 0.5516 GB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.5798, allocations: 168.4 kB / 0.5518 GB, free: 1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.739e-05/0.5799, allocations: 44.69 kB / 0.5518 GB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003358/0.5802, allocations: 0.5505 MB / 0.5524 GB, free: 284 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.5803, allocations: 38.5 kB / 0.5524 GB, free: 236 kB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.324e-06/0.5803, allocations: 0 / 0.5524 GB, free: 236 kB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001709/0.582, allocations: 464.4 kB / 0.5528 GB, free: 15.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.582, allocations: 63.34 kB / 0.5529 GB, free: 15.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.418e-05/0.5821, allocations: 92.36 kB / 0.553 GB, free: 15.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.5821, allocations: 25.7 kB / 0.553 GB, free: 15.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.5822, allocations: 80.14 kB / 0.5531 GB, free: 15.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.5822, allocations: 22.91 kB / 0.5531 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.5822, allocations: 3.625 kB / 0.5531 GB, free: 15.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5824, allocations: 314.8 kB / 0.5534 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.5824, allocations: 23.5 kB / 0.5534 GB, free: 15.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.5824, allocations: 18.73 kB / 0.5535 GB, free: 15.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.5825, allocations: 19.44 kB / 0.5535 GB, free: 15.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5825, allocations: 0 / 0.5535 GB, free: 15.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001377/0.5827, allocations: 86.28 kB / 0.5536 GB, free: 15.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.5827, allocations: 8 kB / 0.5536 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5827, allocations: 3.938 kB / 0.5536 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.5827, allocations: 3.953 kB / 0.5536 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.5829, allocations: 19.11 kB / 0.5536 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.5829, allocations: 4.062 kB / 0.5536 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.5829, allocations: 4 kB / 0.5536 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.5829, allocations: 4 kB / 0.5536 GB, free: 15 MB / 378.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 () * Number of clocked 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 9.416e-05/0.583, allocations: 116.8 kB / 0.5537 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.5831, allocations: 0 / 0.5537 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.5833, allocations: 110.4 kB / 0.5538 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5833, allocations: 3.953 kB / 0.5538 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5833, allocations: 0 / 0.5538 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5833, allocations: 0 / 0.5538 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.5835, allocations: 168 kB / 0.554 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5835, allocations: 0 / 0.554 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.5836, allocations: 19.92 kB / 0.554 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.5836, allocations: 0 / 0.554 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.5836, allocations: 0 / 0.554 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5836, allocations: 4 kB / 0.554 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5836, allocations: 3.953 kB / 0.554 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.5839, allocations: 138.1 kB / 0.5541 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.5839, allocations: 77.11 kB / 0.5542 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.5839, allocations: 3.25 kB / 0.5542 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.097e-05/0.584, allocations: 12.02 kB / 0.5542 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.584, allocations: 7.938 kB / 0.5542 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.5841, allocations: 4 kB / 0.5542 GB, free: 14.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.122e-05/0.5841, allocations: 82.59 kB / 0.5543 GB, free: 14.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.773e-06/0.5841, allocations: 0 / 0.5543 GB, free: 14.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.5843, allocations: 39.86 kB / 0.5544 GB, free: 14.2 MB / 378.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 () * Number of clocked 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.0002043/0.5846, allocations: 134.7 kB / 0.5545 GB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.5847, allocations: 53.78 kB / 0.5545 GB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.5847, allocations: 0 / 0.5545 GB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.5847, allocations: 35.17 kB / 0.5546 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.5849, allocations: 4 kB / 0.5546 GB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.5852, allocations: 148.6 kB / 0.5547 GB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.5855, allocations: 0.6848 MB / 0.5554 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.553e-05/0.5856, allocations: 8.375 kB / 0.5554 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.5856, allocations: 14.5 kB / 0.5554 GB, free: 13.1 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5856, allocations: 3.938 kB / 0.5554 GB, free: 13.09 MB / 378.7 MB Notification: Performance of Templates: time 0.002943/0.5886, allocations: 0.7289 MB / 0.5561 GB, free: 12.38 MB / 378.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)