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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4252/0.4252, allocations: 54.95 MB / 324.7 MB, free: 15.94 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 71.89 kB / 395.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2092, allocations: 59.6 MB / 454.9 MB, free: 120 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.2722/0.4815, allocations: 0.5402 MB / 455.5 MB, free: 39.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.4829, allocations: 1.051 MB / 456.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.4829, allocations: 0 / 456.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.483, allocations: 3.062 kB / 456.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.264e-05/0.483, allocations: 5.125 kB / 456.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.4834, allocations: 74.12 kB / 456.6 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.643e-05/0.4835, allocations: 15.42 kB / 456.6 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.4835, allocations: 6.672 kB / 456.6 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.34e-05/0.4836, allocations: 12.72 kB / 456.6 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.465e-05/0.4836, allocations: 9 kB / 456.7 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.4836, allocations: 3.062 kB / 456.7 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.4838, allocations: 96.02 kB / 456.8 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.4838, allocations: 6.75 kB / 456.8 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.4839, allocations: 11.25 kB / 456.8 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.484, allocations: 55.45 kB / 456.8 MB, free: 39.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.484, allocations: 0 / 456.8 MB, free: 39.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.484, allocations: 5.625 kB / 456.8 MB, free: 39.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.4841, allocations: 1.5 kB / 456.8 MB, free: 39.14 MB / 382.1 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.0004188/0.4845, allocations: 337.2 kB / 457.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4845, allocations: 12.16 kB / 457.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.4846, allocations: 0.9375 kB / 457.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.834e-05/0.4847, allocations: 169 kB / 457.3 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.4847, allocations: 1.344 kB / 457.3 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.4847, allocations: 5.094 kB / 457.3 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.4848, allocations: 51.86 kB / 457.4 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4849, allocations: 3.719 kB / 457.4 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.4849, allocations: 1.688 kB / 457.4 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.4849, allocations: 0 / 457.4 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.467e-05/0.4849, allocations: 14.16 kB / 457.4 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.4851, allocations: 164.8 kB / 457.6 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.002e-05/0.4852, allocations: 41.88 kB / 457.6 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.4852, allocations: 20.17 kB / 457.6 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000403/0.4856, allocations: 0.5574 MB / 458.2 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.4857, allocations: 39.16 kB / 458.2 MB, free: 37.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.505e-06/0.4857, allocations: 0.625 kB / 458.2 MB, free: 37.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00166/0.4873, allocations: 461.1 kB / 458.7 MB, free: 37.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.4874, allocations: 51.91 kB / 458.7 MB, free: 37.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.723e-05/0.4874, allocations: 99.94 kB / 458.8 MB, free: 37.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.4874, allocations: 26.23 kB / 458.9 MB, free: 37.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.63e-05/0.4875, allocations: 80.8 kB / 458.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.4875, allocations: 22.22 kB / 459 MB, free: 37.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.4875, allocations: 30.12 kB / 459 MB, free: 37.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.015e-05/0.4876, allocations: 311.8 kB / 459.3 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.59e-05/0.4876, allocations: 21.31 kB / 459.3 MB, free: 36.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.4877, allocations: 20.69 kB / 459.3 MB, free: 36.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.746e-05/0.4878, allocations: 52.52 kB / 459.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4878, allocations: 1.938 kB / 459.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001134/0.4879, allocations: 93.94 kB / 459.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.4879, allocations: 6.969 kB / 459.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4879, allocations: 0.625 kB / 459.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4879, allocations: 3.125 kB / 459.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.4881, allocations: 19.34 kB / 459.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4881, allocations: 2.875 kB / 459.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.4881, allocations: 1.25 kB / 459.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.4881, allocations: 2.906 kB / 459.5 MB, free: 36.71 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/0.4882, allocations: 115.6 kB / 459.6 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.4882, allocations: 2.75 kB / 459.6 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.4884, allocations: 99.95 kB / 459.7 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4884, allocations: 3.188 kB / 459.7 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4884, allocations: 0.8125 kB / 459.7 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4884, allocations: 1.5 kB / 459.7 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.347e-05/0.4885, allocations: 184.8 kB / 459.9 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4885, allocations: 0 / 459.9 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-05/0.4886, allocations: 11.62 kB / 459.9 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4887, allocations: 0 / 459.9 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4887, allocations: 8.75 kB / 459.9 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4887, allocations: 0 / 459.9 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4887, allocations: 0 / 459.9 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.4889, allocations: 145.5 kB / 460.1 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.4889, allocations: 78.05 kB / 460.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.4889, allocations: 6.125 kB / 460.2 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.11e-05/0.489, allocations: 0.9375 kB / 460.2 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.489, allocations: 7.75 kB / 460.2 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.489, allocations: 3.844 kB / 460.2 MB, free: 36.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.963e-05/0.4891, allocations: 79.12 kB / 460.2 MB, free: 36.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4891, allocations: 0 / 460.2 MB, free: 36.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002029/0.4893, allocations: 28.72 kB / 460.3 MB, free: 36.12 MB / 382.1 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 (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.0001594/0.4894, allocations: 120.1 kB / 460.4 MB, free: 36.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.4896, allocations: 58.56 kB / 460.4 MB, free: 36.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4896, allocations: 3.094 kB / 460.4 MB, free: 36.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.396e-05/0.4896, allocations: 32.5 kB / 460.5 MB, free: 36.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.4898, allocations: 7.75 kB / 460.5 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.4902, allocations: 146.6 kB / 460.6 MB, free: 35.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.4903, allocations: 0.6785 MB / 461.3 MB, free: 35.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.807e-05/0.4904, allocations: 13.66 kB / 461.3 MB, free: 35.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.4904, allocations: 10.34 kB / 461.3 MB, free: 35.21 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4904, allocations: 0 / 461.3 MB, free: 35.21 MB / 382.1 MB Notification: Performance of Templates: time 0.003168/0.4936, allocations: 0.8362 MB / 462.2 MB, free: 35.16 MB / 382.1 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)