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.001014/0.001014, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008133/0.008133, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.653/1.653, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.5016/0.5016, allocations: 55.01 MB / 325.7 MB, free: 0.5312 MB / 254.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.0005928/0.0005929, allocations: 12 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4676, allocations: 60.72 MB / 458 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007589/0.4684, allocations: 305.7 kB / 458.3 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.4697, allocations: 1.043 MB / 459.3 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.694e-05/0.4698, allocations: 0 / 459.3 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.4698, allocations: 0.75 kB / 459.3 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.684e-05/0.4698, allocations: 0 / 459.3 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.4701, allocations: 54.11 kB / 459.4 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.874e-05/0.4702, allocations: 20.84 kB / 459.4 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/0.4703, allocations: 7.969 kB / 459.4 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.251e-05/0.4703, allocations: 9.719 kB / 459.4 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.827e-05/0.4704, allocations: 8.078 kB / 459.4 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.4704, allocations: 6.125 kB / 459.4 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.4706, allocations: 96.69 kB / 459.5 MB, free: 39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.4706, allocations: 3.641 kB / 459.5 MB, free: 39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.4707, allocations: 40.52 kB / 459.6 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.4708, allocations: 53.98 kB / 459.6 MB, free: 38.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4708, allocations: 0 / 459.6 MB, free: 38.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4708, allocations: 0 / 459.6 MB, free: 38.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.4708, allocations: 0 / 459.6 MB, free: 38.97 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.0003875/0.4712, allocations: 344 kB / 460 MB, free: 38.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.4713, allocations: 13.44 kB / 460 MB, free: 38.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.4713, allocations: 3.812 kB / 460 MB, free: 38.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.239e-05/0.4714, allocations: 162.5 kB / 460.1 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.4714, allocations: 1.219 kB / 460.1 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.4714, allocations: 4.5 kB / 460.1 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.4716, allocations: 55.95 kB / 460.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4716, allocations: 0.9062 kB / 460.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4716, allocations: 0 / 460.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4716, allocations: 8.797 kB / 460.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.852e-05/0.4717, allocations: 9.969 kB / 460.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.4718, allocations: 155.8 kB / 460.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.205e-05/0.4719, allocations: 45.98 kB / 460.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.472, allocations: 22.7 kB / 460.4 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/0.4724, allocations: 0.5548 MB / 461 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.4724, allocations: 37.69 kB / 461 MB, free: 37.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.4724, allocations: 5.219 kB / 461 MB, free: 37.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001709/0.4741, allocations: 466.7 kB / 461.5 MB, free: 37.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.4742, allocations: 55.28 kB / 461.5 MB, free: 37.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.848e-05/0.4742, allocations: 90.77 kB / 461.6 MB, free: 37.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.4743, allocations: 29.05 kB / 461.6 MB, free: 37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.256e-05/0.4743, allocations: 81.48 kB / 461.7 MB, free: 36.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.4743, allocations: 25.17 kB / 461.8 MB, free: 36.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.4744, allocations: 16.5 kB / 461.8 MB, free: 36.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.4745, allocations: 316.2 kB / 462.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.4745, allocations: 21.39 kB / 462.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-05/0.4745, allocations: 21.25 kB / 462.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.412e-05/0.4746, allocations: 57.36 kB / 462.2 MB, free: 36.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.4747, allocations: 0 / 462.2 MB, free: 36.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001414/0.4748, allocations: 90.36 kB / 462.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4748, allocations: 6.156 kB / 462.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.4748, allocations: 0.6875 kB / 462.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.4749, allocations: 2.312 kB / 462.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.475, allocations: 17.73 kB / 462.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.475, allocations: 3.5 kB / 462.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.576e-05/0.4751, allocations: 3.812 kB / 462.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.4751, allocations: 5.703 kB / 462.3 MB, free: 36.52 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 7.848e-05/0.4752, allocations: 113.2 kB / 462.4 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.4752, allocations: 7.266 kB / 462.4 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.4754, allocations: 99.94 kB / 462.5 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4755, allocations: 1.438 kB / 462.5 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.4755, allocations: 0 / 462.5 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4755, allocations: 0 / 462.5 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.4756, allocations: 177.9 kB / 462.7 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4756, allocations: 0.5938 kB / 462.7 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.4757, allocations: 18.94 kB / 462.7 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4758, allocations: 0.75 kB / 462.7 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4758, allocations: 3.5 kB / 462.7 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4758, allocations: 2.781 kB / 462.7 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4758, allocations: 0 / 462.7 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.476, allocations: 140.9 kB / 462.9 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.4761, allocations: 84.03 kB / 462.9 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.4761, allocations: 0 / 462.9 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.4762, allocations: 5.594 kB / 462.9 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.4762, allocations: 3.703 kB / 462.9 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.4762, allocations: 7.234 kB / 463 MB, free: 36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.877e-05/0.4763, allocations: 78.97 kB / 463 MB, free: 35.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4763, allocations: 0 / 463 MB, free: 35.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.4765, allocations: 27.44 kB / 463.1 MB, free: 35.92 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.000227/0.4768, allocations: 124.3 kB / 463.2 MB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.4769, allocations: 55.72 kB / 463.2 MB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4769, allocations: 0 / 463.2 MB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.592e-05/0.477, allocations: 31.59 kB / 463.3 MB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.4772, allocations: 10.19 kB / 463.3 MB, free: 35.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.4776, allocations: 160.4 kB / 463.4 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.4778, allocations: 0.6774 MB / 464.1 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.078e-05/0.4779, allocations: 12.48 kB / 464.1 MB, free: 34.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.4779, allocations: 17.31 kB / 464.1 MB, free: 34.98 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4779, allocations: 0 / 464.1 MB, free: 34.98 MB / 382.1 MB Notification: Performance of Templates: time 0.003195/0.4811, allocations: 0.7976 MB / 464.9 MB, free: 34.94 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: