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.2743/0.2743, allocations: 54.33 MB / 66.89 MB, free: 6.098 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.001159/0.00116, allocations: 178.4 kB / 80.71 MB, free: 15.4 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.515/1.515, allocations: 194.2 MB / 288.6 MB, free: 15 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.001667/0.001667, allocations: 108.6 kB / 346.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.78e-05, allocations: 4 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 57.65 MB / 470 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.383/0.5011, allocations: 85.74 MB / 0.5428 GB, free: 4.707 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5014, allocations: 79.94 kB / 0.5428 GB, free: 4.629 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005333/0.5067, allocations: 1.823 MB / 0.5446 GB, free: 2.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5067, allocations: 0 / 0.5446 GB, free: 2.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.5068, allocations: 0 / 0.5446 GB, free: 2.812 MB / 378.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.0003475/0.5071, allocations: 354.9 kB / 0.545 GB, free: 2.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.5072, allocations: 11.97 kB / 0.545 GB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.5072, allocations: 0 / 0.545 GB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.5073, allocations: 167 kB / 0.5451 GB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.5074, allocations: 3.984 kB / 0.5451 GB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.5074, allocations: 4 kB / 0.5451 GB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.5075, allocations: 45.66 kB / 0.5452 GB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5075, allocations: 0 / 0.5452 GB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.5075, allocations: 0 / 0.5452 GB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5076, allocations: 4 kB / 0.5452 GB, free: 2.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.698e-05/0.5076, allocations: 15.98 kB / 0.5452 GB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.5078, allocations: 157.7 kB / 0.5453 GB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.246e-05/0.5079, allocations: 46.58 kB / 0.5454 GB, free: 1.871 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.5079, allocations: 20.92 kB / 0.5454 GB, free: 1.848 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000467/0.5084, allocations: 0.5583 MB / 0.546 GB, free: 1.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.5084, allocations: 33.16 kB / 0.546 GB, free: 1.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.5085, allocations: 0 / 0.546 GB, free: 1.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001635/0.5101, allocations: 454.7 kB / 0.5464 GB, free: 0.625 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.5101, allocations: 51.41 kB / 0.5465 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.5102, allocations: 89 kB / 0.5466 GB, free: 480 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.5102, allocations: 25.7 kB / 0.5466 GB, free: 448 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.5103, allocations: 80.14 kB / 0.5467 GB, free: 364 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.5103, allocations: 31.55 kB / 0.5467 GB, free: 332 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.5103, allocations: 4.125 kB / 0.5467 GB, free: 328 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5105, allocations: 314.8 kB / 0.547 GB, free: 4 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.838e-05/0.5105, allocations: 23.98 kB / 0.547 GB, free: 15.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.162e-05/0.5106, allocations: 16 kB / 0.547 GB, free: 15.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.354e-05/0.5106, allocations: 23.94 kB / 0.547 GB, free: 15.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5106, allocations: 0 / 0.547 GB, free: 15.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001237/0.5107, allocations: 81.53 kB / 0.5471 GB, free: 15.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.5108, allocations: 4 kB / 0.5471 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5108, allocations: 3.953 kB / 0.5471 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.5108, allocations: 4 kB / 0.5471 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.5109, allocations: 20 kB / 0.5472 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.511, allocations: 3.984 kB / 0.5472 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.19e-05/0.511, allocations: 288 / 0.5472 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.511, allocations: 4 kB / 0.5472 GB, free: 15.82 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 6.666e-05/0.5111, allocations: 108.9 kB / 0.5473 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.5111, allocations: 7.938 kB / 0.5473 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.5113, allocations: 105.8 kB / 0.5474 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-06/0.5114, allocations: 7.938 kB / 0.5474 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5114, allocations: 0 / 0.5474 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.5114, allocations: 3.984 kB / 0.5474 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.5115, allocations: 169.7 kB / 0.5475 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5115, allocations: 0 / 0.5475 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.5116, allocations: 19.98 kB / 0.5476 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.5116, allocations: 256 / 0.5476 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.5117, allocations: 7.938 kB / 0.5476 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5117, allocations: 7.953 kB / 0.5476 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5117, allocations: 4 kB / 0.5476 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.5119, allocations: 125 kB / 0.5477 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.5119, allocations: 85.12 kB / 0.5478 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.512, allocations: 4 kB / 0.5478 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.727e-05/0.512, allocations: 0 / 0.5478 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.512, allocations: 11.94 kB / 0.5478 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.5121, allocations: 8.062 kB / 0.5478 GB, free: 15.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.931e-05/0.5121, allocations: 75.28 kB / 0.5479 GB, free: 14.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5121, allocations: 0 / 0.5479 GB, free: 14.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002068/0.5123, allocations: 35.92 kB / 0.5479 GB, free: 14.95 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.0001978/0.5125, allocations: 135.1 kB / 0.548 GB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.5127, allocations: 48 kB / 0.5481 GB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5127, allocations: 0 / 0.5481 GB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.578e-05/0.5127, allocations: 36.03 kB / 0.5481 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.841e-05/0.5128, allocations: 0 / 0.5481 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.5132, allocations: 107.4 kB / 0.5482 GB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.5134, allocations: 0.6809 MB / 0.5489 GB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.461e-05/0.5135, allocations: 12.31 kB / 0.5489 GB, free: 13.87 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.5135, allocations: 11.44 kB / 0.5489 GB, free: 13.86 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5135, allocations: 4 kB / 0.5489 GB, free: 13.86 MB / 394.7 MB Notification: Performance of Templates: time 0.0028/0.5164, allocations: 0.7419 MB / 0.5496 GB, free: 13.12 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)