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.001448/0.001448, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001844/0.001844, allocations: 191 kB / 16.25 MB, free: 6.641 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.557/1.557, allocations: 205.1 MB / 222.1 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4713/0.4713, allocations: 54.93 MB / 324.4 MB, free: 24 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.001989/0.001989, allocations: 71.91 kB / 394.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1609, allocations: 59.58 MB / 454.5 MB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.2612/0.4222, allocations: 0.6235 MB / 455.1 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.4235, allocations: 1.047 MB / 456.2 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.4236, allocations: 0 / 456.2 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.4236, allocations: 4.156 kB / 456.2 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.26e-05/0.4237, allocations: 0.5312 kB / 456.2 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.424, allocations: 62.48 kB / 456.2 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.807e-05/0.4241, allocations: 18.06 kB / 456.2 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/0.4242, allocations: 0 / 456.2 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.351e-05/0.4242, allocations: 15.56 kB / 456.3 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.368e-05/0.4243, allocations: 10.42 kB / 456.3 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.4243, allocations: 3.062 kB / 456.3 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.4245, allocations: 92.41 kB / 456.4 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.4245, allocations: 7.344 kB / 456.4 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.4245, allocations: 6.375 kB / 456.4 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.4247, allocations: 55.53 kB / 456.4 MB, free: 38.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4247, allocations: 3.938 kB / 456.4 MB, free: 38.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4247, allocations: 2.781 kB / 456.4 MB, free: 38.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.4247, allocations: 4.5 kB / 456.4 MB, free: 38.84 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.0003997/0.4251, allocations: 342.2 kB / 456.8 MB, free: 38.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4252, allocations: 9.312 kB / 456.8 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.4252, allocations: 4.781 kB / 456.8 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.925e-05/0.4253, allocations: 162.4 kB / 456.9 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.4253, allocations: 3.906 kB / 456.9 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.4253, allocations: 8.781 kB / 457 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.4255, allocations: 53.47 kB / 457 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.902e-06/0.4255, allocations: 0.6875 kB / 457 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4255, allocations: 0 / 457 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4255, allocations: 1.094 kB / 457 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.602e-05/0.4256, allocations: 12.84 kB / 457 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.4257, allocations: 163.6 kB / 457.2 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.553e-05/0.4258, allocations: 44.25 kB / 457.2 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.4258, allocations: 23.28 kB / 457.3 MB, free: 38.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003665/0.4262, allocations: 0.5564 MB / 457.8 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.4262, allocations: 43.5 kB / 457.8 MB, free: 37.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.4263, allocations: 3.25 kB / 457.9 MB, free: 37.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001604/0.4279, allocations: 454.5 kB / 458.3 MB, free: 37.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.4279, allocations: 52.25 kB / 458.3 MB, free: 37.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.433e-05/0.428, allocations: 96.52 kB / 458.4 MB, free: 36.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.428, allocations: 26.48 kB / 458.5 MB, free: 36.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.718e-05/0.428, allocations: 82.77 kB / 458.5 MB, free: 36.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.428, allocations: 27.66 kB / 458.6 MB, free: 36.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.4281, allocations: 22.06 kB / 458.6 MB, free: 36.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.4281, allocations: 318.9 kB / 458.9 MB, free: 36.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.4282, allocations: 15.83 kB / 458.9 MB, free: 36.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/0.4282, allocations: 23.91 kB / 458.9 MB, free: 36.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.509e-05/0.4283, allocations: 50.64 kB / 459 MB, free: 36.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4283, allocations: 1.094 kB / 459 MB, free: 36.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001107/0.4284, allocations: 94.55 kB / 459.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.4284, allocations: 5.938 kB / 459.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4285, allocations: 1 kB / 459.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.4285, allocations: 0 / 459.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.996e-05/0.4286, allocations: 17.81 kB / 459.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.4286, allocations: 0 / 459.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.4286, allocations: 0 / 459.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.4286, allocations: 7.422 kB / 459.1 MB, free: 36.41 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.725e-05/0.4287, allocations: 117.5 kB / 459.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.4287, allocations: 1.844 kB / 459.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.4289, allocations: 108.2 kB / 459.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4289, allocations: 2.906 kB / 459.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4289, allocations: 0 / 459.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.429, allocations: 0.8438 kB / 459.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.588e-05/0.429, allocations: 173.6 kB / 459.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4291, allocations: 3.938 kB / 459.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.139e-05/0.4292, allocations: 16.59 kB / 459.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4292, allocations: 3.406 kB / 459.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4292, allocations: 5.875 kB / 459.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4292, allocations: 3.422 kB / 459.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4292, allocations: 0 / 459.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.4294, allocations: 139.7 kB / 459.7 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.4294, allocations: 80.67 kB / 459.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.4294, allocations: 0 / 459.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.204e-05/0.4295, allocations: 3.406 kB / 459.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.4295, allocations: 12.55 kB / 459.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.4295, allocations: 1.562 kB / 459.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.8e-05/0.4296, allocations: 79.25 kB / 459.9 MB, free: 35.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.4296, allocations: 0 / 459.9 MB, free: 35.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000195/0.4298, allocations: 28 kB / 459.9 MB, free: 35.82 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.0001548/0.4299, allocations: 120.4 kB / 460 MB, free: 35.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.4301, allocations: 58.97 kB / 460.1 MB, free: 35.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4301, allocations: 0 / 460.1 MB, free: 35.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.113e-05/0.4301, allocations: 31.69 kB / 460.1 MB, free: 35.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.4303, allocations: 11.44 kB / 460.1 MB, free: 35.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.4306, allocations: 155.6 kB / 460.3 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.4308, allocations: 0.6816 MB / 460.9 MB, free: 34.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.006e-05/0.4309, allocations: 9.078 kB / 460.9 MB, free: 34.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.4309, allocations: 14.28 kB / 461 MB, free: 34.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.7e-07/0.4309, allocations: 288 / 461 MB, free: 34.9 MB / 382.1 MB Notification: Performance of Templates: time 0.002832/0.4337, allocations: 0.8242 MB / 461.8 MB, free: 34.85 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)