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.006735/0.006735, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001164/0.001164, allocations: 190.1 kB / 16.67 MB, free: 5.934 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.599/1.599, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3995/0.3995, allocations: 54.95 MB / 324.9 MB, free: 28 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.001676/0.001676, allocations: 74.36 kB / 456.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1725, allocations: 59.59 MB / 0.5038 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001898/0.1744, allocations: 0.5577 MB / 0.5044 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1758, allocations: 1.05 MB / 0.5054 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.1758, allocations: 0 / 0.5054 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.1759, allocations: 5.406 kB / 0.5054 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.351e-05/0.1759, allocations: 0 / 0.5054 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.1763, allocations: 77.27 kB / 0.5055 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.155e-05/0.1764, allocations: 11.36 kB / 0.5055 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.615e-05/0.1765, allocations: 10.55 kB / 0.5055 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.445e-05/0.1765, allocations: 7.594 kB / 0.5055 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.115e-05/0.1766, allocations: 7.609 kB / 0.5055 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1766, allocations: 1.188 kB / 0.5055 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.1768, allocations: 99.77 kB / 0.5056 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.1768, allocations: 10.09 kB / 0.5056 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.1769, allocations: 10.11 kB / 0.5056 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1771, allocations: 54.72 kB / 0.5057 GB, free: 8.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1771, allocations: 0 / 0.5057 GB, free: 8.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1771, allocations: 1.312 kB / 0.5057 GB, free: 8.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1771, allocations: 0 / 0.5057 GB, free: 8.258 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.0004631/0.1776, allocations: 344.1 kB / 0.506 GB, free: 7.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1776, allocations: 10.59 kB / 0.506 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.1777, allocations: 2.188 kB / 0.506 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.702e-05/0.1778, allocations: 169.7 kB / 0.5062 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1778, allocations: 384 / 0.5062 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.1778, allocations: 3.094 kB / 0.5062 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1779, allocations: 50.06 kB / 0.5062 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.178, allocations: 0 / 0.5062 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.178, allocations: 7.969 kB / 0.5063 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.178, allocations: 1.406 kB / 0.5063 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.25e-05/0.178, allocations: 11 kB / 0.5063 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.1782, allocations: 163.2 kB / 0.5064 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.785e-05/0.1783, allocations: 55.06 kB / 0.5065 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.1784, allocations: 20.8 kB / 0.5065 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003929/0.1788, allocations: 0.5605 MB / 0.507 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.1788, allocations: 35.84 kB / 0.5071 GB, free: 6.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1788, allocations: 4 kB / 0.5071 GB, free: 6.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001698/0.1805, allocations: 452.6 kB / 0.5075 GB, free: 6.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.1806, allocations: 52.78 kB / 0.5076 GB, free: 6.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.726e-05/0.1806, allocations: 95.23 kB / 0.5077 GB, free: 6.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1806, allocations: 31.08 kB / 0.5077 GB, free: 6.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.1807, allocations: 80.14 kB / 0.5078 GB, free: 6.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1807, allocations: 34.42 kB / 0.5078 GB, free: 5.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.1808, allocations: 20.59 kB / 0.5078 GB, free: 5.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.1808, allocations: 312.2 kB / 0.5081 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.1809, allocations: 21.61 kB / 0.5081 GB, free: 5.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.1809, allocations: 27.11 kB / 0.5082 GB, free: 5.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.569e-05/0.181, allocations: 48.22 kB / 0.5082 GB, free: 5.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.181, allocations: 3.938 kB / 0.5082 GB, free: 5.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001195/0.1811, allocations: 90.56 kB / 0.5083 GB, free: 5.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1812, allocations: 5.5 kB / 0.5083 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1812, allocations: 0 / 0.5083 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1812, allocations: 1.656 kB / 0.5083 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.1813, allocations: 16.36 kB / 0.5083 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1813, allocations: 1.375 kB / 0.5083 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.348e-05/0.1814, allocations: 3.938 kB / 0.5083 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1814, allocations: 10.69 kB / 0.5083 GB, free: 5.508 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 6.114e-05/0.1814, allocations: 116.5 kB / 0.5084 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.1815, allocations: 5.328 kB / 0.5084 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.1817, allocations: 93.34 kB / 0.5085 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1817, allocations: 9.359 kB / 0.5085 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1817, allocations: 0 / 0.5085 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1817, allocations: 0 / 0.5085 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.1819, allocations: 167.2 kB / 0.5087 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1819, allocations: 0 / 0.5087 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.993e-05/0.182, allocations: 20.3 kB / 0.5087 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.182, allocations: 1.375 kB / 0.5087 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.182, allocations: 5.375 kB / 0.5087 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.182, allocations: 80 / 0.5087 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.182, allocations: 5.359 kB / 0.5087 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.1822, allocations: 137.6 kB / 0.5089 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.1823, allocations: 82.25 kB / 0.5089 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1823, allocations: 1.375 kB / 0.5089 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.14e-05/0.1823, allocations: 9.141 kB / 0.509 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.1824, allocations: 6.594 kB / 0.509 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.1824, allocations: 6.531 kB / 0.509 GB, free: 4.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.389e-05/0.1824, allocations: 76.31 kB / 0.509 GB, free: 4.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1824, allocations: 4.156 kB / 0.509 GB, free: 4.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.1826, allocations: 26.23 kB / 0.5091 GB, free: 4.777 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.0001672/0.1828, allocations: 117.6 kB / 0.5092 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.183, allocations: 54.8 kB / 0.5092 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.183, allocations: 5.188 kB / 0.5092 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.892e-05/0.183, allocations: 29.72 kB / 0.5093 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.1832, allocations: 9.25 kB / 0.5093 GB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.1836, allocations: 146.8 kB / 0.5094 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.1837, allocations: 0.6811 MB / 0.5101 GB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.782e-05/0.1838, allocations: 16.77 kB / 0.5101 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.1838, allocations: 10.66 kB / 0.5101 GB, free: 3.781 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1838, allocations: 0 / 0.5101 GB, free: 3.781 MB / 382.1 MB Notification: Performance of Templates: time 0.003156/0.187, allocations: 0.8343 MB / 0.5109 GB, free: 2.992 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)