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.001172/0.001172, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001391/0.001391, allocations: 194.9 kB / 16.14 MB, free: 6.699 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.484/1.484, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4877/0.4877, allocations: 54.93 MB / 324.3 MB, free: 168 kB / 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.001469/0.00147, allocations: 67.91 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1778, allocations: 59.6 MB / 454.3 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.2413/0.4192, allocations: 0.6158 MB / 454.9 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.4205, allocations: 1.058 MB / 455.9 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.4206, allocations: 0 / 455.9 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.4206, allocations: 0.9062 kB / 455.9 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.493e-05/0.4206, allocations: 0 / 455.9 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.4209, allocations: 60.77 kB / 456 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.331e-05/0.421, allocations: 13.44 kB / 456 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.4211, allocations: 6.406 kB / 456 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.058e-05/0.4211, allocations: 6.25 kB / 456 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.4211, allocations: 10.98 kB / 456 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.4212, allocations: 3.156 kB / 456 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.4214, allocations: 94.2 kB / 456.1 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.4214, allocations: 7.75 kB / 456.1 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.4214, allocations: 7.656 kB / 456.1 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.4216, allocations: 63.97 kB / 456.2 MB, free: 38.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.4216, allocations: 0 / 456.2 MB, free: 38.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.4216, allocations: 0.6875 kB / 456.2 MB, free: 38.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.4216, allocations: 0.5625 kB / 456.2 MB, free: 38.95 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.0003993/0.422, allocations: 340.2 kB / 456.5 MB, free: 38.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.422, allocations: 17.16 kB / 456.6 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.4221, allocations: 2.125 kB / 456.6 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.001e-05/0.4222, allocations: 165.6 kB / 456.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.4222, allocations: 4.344 kB / 456.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.4222, allocations: 10.28 kB / 456.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.4223, allocations: 47.3 kB / 456.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.4223, allocations: 1.875 kB / 456.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.4224, allocations: 3.641 kB / 456.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4224, allocations: 0 / 456.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.871e-05/0.4224, allocations: 16.92 kB / 456.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.4226, allocations: 157.2 kB / 456.9 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.878e-05/0.4227, allocations: 47.08 kB / 457 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/0.4227, allocations: 22.12 kB / 457 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003777/0.4231, allocations: 0.5525 MB / 457.6 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.4231, allocations: 43.78 kB / 457.6 MB, free: 37.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.4231, allocations: 0 / 457.6 MB, free: 37.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001604/0.4247, allocations: 457.6 kB / 458.1 MB, free: 37.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.4248, allocations: 51.97 kB / 458.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.225e-05/0.4248, allocations: 93.3 kB / 458.2 MB, free: 37.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.4248, allocations: 31.48 kB / 458.2 MB, free: 36.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.212e-05/0.4249, allocations: 83.56 kB / 458.3 MB, free: 36.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.4249, allocations: 30.3 kB / 458.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.4249, allocations: 23.16 kB / 458.4 MB, free: 36.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.953e-05/0.425, allocations: 318.2 kB / 458.7 MB, free: 36.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.425, allocations: 20.7 kB / 458.7 MB, free: 36.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.4251, allocations: 16.41 kB / 458.7 MB, free: 36.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.646e-05/0.4251, allocations: 53.81 kB / 458.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4251, allocations: 0 / 458.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001195/0.4253, allocations: 94.77 kB / 458.9 MB, free: 36.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4253, allocations: 5.719 kB / 458.9 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.4253, allocations: 0 / 458.9 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.4253, allocations: 0.5625 kB / 458.9 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.4254, allocations: 21.14 kB / 458.9 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4254, allocations: 1.5 kB / 458.9 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.4255, allocations: 2.312 kB / 458.9 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.4255, allocations: 3.312 kB / 458.9 MB, free: 36.51 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 4.931e-05/0.4255, allocations: 111.8 kB / 459 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.4256, allocations: 3.938 kB / 459 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.4258, allocations: 104.1 kB / 459.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4258, allocations: 3.375 kB / 459.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4258, allocations: 0 / 459.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4258, allocations: 0.5 kB / 459.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.187e-05/0.4259, allocations: 176.9 kB / 459.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4259, allocations: 3.891 kB / 459.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.723e-05/0.426, allocations: 16.5 kB / 459.3 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.426, allocations: 0 / 459.3 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.426, allocations: 10.42 kB / 459.3 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.426, allocations: 0 / 459.3 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.426, allocations: 0 / 459.3 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.4262, allocations: 139.5 kB / 459.4 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.4263, allocations: 82.97 kB / 459.5 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.4263, allocations: 0.6562 kB / 459.5 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/0.4263, allocations: 0.6094 kB / 459.5 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.4264, allocations: 15.83 kB / 459.5 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.4264, allocations: 0 / 459.5 MB, free: 36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.768e-05/0.4264, allocations: 80.34 kB / 459.6 MB, free: 35.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4264, allocations: 0 / 459.6 MB, free: 35.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002023/0.4266, allocations: 26.78 kB / 459.7 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.0001468/0.4268, allocations: 120.9 kB / 459.8 MB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.4269, allocations: 60.03 kB / 459.8 MB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4269, allocations: 0 / 459.8 MB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.4269, allocations: 30.91 kB / 459.9 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.0001455/0.4271, allocations: 4.641 kB / 459.9 MB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.4274, allocations: 163.6 kB / 460 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.4275, allocations: 0.6824 MB / 460.7 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.159e-05/0.4276, allocations: 11.84 kB / 460.7 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.4276, allocations: 10.94 kB / 460.7 MB, free: 35 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4277, allocations: 0 / 460.7 MB, free: 35 MB / 382.1 MB Notification: Performance of Templates: time 0.002815/0.4305, allocations: 0.8092 MB / 461.5 MB, free: 34.95 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)