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.00913/0.009131, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001468/0.001468, allocations: 191.7 kB / 16.67 MB, free: 5.523 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: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2824/0.2824, allocations: 54.97 MB / 324.9 MB, free: 4.844 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.001825/0.001825, allocations: 75.83 kB / 456.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1661, allocations: 59.59 MB / 0.5037 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001886/0.168, allocations: 0.5519 MB / 0.5043 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1694, allocations: 1.05 MB / 0.5053 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.1695, allocations: 3.938 kB / 0.5053 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.1695, allocations: 0 / 0.5053 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.127e-05/0.1695, allocations: 0 / 0.5053 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.17, allocations: 83.66 kB / 0.5054 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.164e-05/0.17, allocations: 15.98 kB / 0.5054 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.726e-05/0.1701, allocations: 4 kB / 0.5054 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.1701, allocations: 8 kB / 0.5054 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.661e-05/0.1702, allocations: 11.92 kB / 0.5054 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.1702, allocations: 0 / 0.5054 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.1704, allocations: 91.89 kB / 0.5055 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.1704, allocations: 7.984 kB / 0.5055 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.1705, allocations: 7.938 kB / 0.5055 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.1706, allocations: 63.86 kB / 0.5056 GB, free: 5.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1706, allocations: 0 / 0.5056 GB, free: 5.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1706, allocations: 0 / 0.5056 GB, free: 5.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1706, allocations: 0 / 0.5056 GB, free: 5.133 MB / 398.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.0005336/0.1712, allocations: 343.5 kB / 0.5059 GB, free: 4.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1712, allocations: 12.03 kB / 0.5059 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.1713, allocations: 8.844 kB / 0.5059 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1714, allocations: 160.4 kB / 0.5061 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1714, allocations: 8.312 kB / 0.5061 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.1715, allocations: 8.359 kB / 0.5061 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1716, allocations: 45.62 kB / 0.5061 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1716, allocations: 0 / 0.5061 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1717, allocations: 4 kB / 0.5062 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1717, allocations: 4 kB / 0.5062 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.748e-05/0.1717, allocations: 7.984 kB / 0.5062 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.172, allocations: 161.7 kB / 0.5063 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.1721, allocations: 50.56 kB / 0.5064 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.1721, allocations: 16.98 kB / 0.5064 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005814/0.1727, allocations: 0.5583 MB / 0.5069 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1728, allocations: 34.56 kB / 0.507 GB, free: 3.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.1728, allocations: 0 / 0.507 GB, free: 3.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001895/0.1747, allocations: 462.4 kB / 0.5074 GB, free: 2.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.1747, allocations: 55.41 kB / 0.5075 GB, free: 2.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.618e-05/0.1748, allocations: 93.84 kB / 0.5075 GB, free: 2.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1749, allocations: 29.83 kB / 0.5076 GB, free: 2.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.1749, allocations: 80.14 kB / 0.5076 GB, free: 2.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.175, allocations: 23.62 kB / 0.5077 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.175, allocations: 29.7 kB / 0.5077 GB, free: 2.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1752, allocations: 314.8 kB / 0.508 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.821e-05/0.1753, allocations: 27.92 kB / 0.508 GB, free: 2.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-05/0.1753, allocations: 12 kB / 0.508 GB, free: 2.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.628e-05/0.1754, allocations: 52.84 kB / 0.5081 GB, free: 2.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1754, allocations: 7.938 kB / 0.5081 GB, free: 2.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001384/0.1755, allocations: 81.62 kB / 0.5082 GB, free: 2.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1756, allocations: 8 kB / 0.5082 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1756, allocations: 0 / 0.5082 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.1756, allocations: 0 / 0.5082 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1757, allocations: 12 kB / 0.5082 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1758, allocations: 0 / 0.5082 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.1758, allocations: 8.062 kB / 0.5082 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1758, allocations: 7.984 kB / 0.5082 GB, free: 2.051 MB / 398.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 9.714e-05/0.1759, allocations: 129.7 kB / 0.5083 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.1759, allocations: 3.906 kB / 0.5083 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.1762, allocations: 93.64 kB / 0.5084 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1762, allocations: 0 / 0.5084 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.1762, allocations: 0 / 0.5084 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.1762, allocations: 8 kB / 0.5084 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1764, allocations: 181.5 kB / 0.5086 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1764, allocations: 0 / 0.5086 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.1765, allocations: 20.2 kB / 0.5086 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1765, allocations: 0 / 0.5086 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1766, allocations: 4 kB / 0.5086 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1766, allocations: 3.938 kB / 0.5086 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1766, allocations: 0 / 0.5086 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.1768, allocations: 137 kB / 0.5088 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.1769, allocations: 81.02 kB / 0.5088 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.1769, allocations: 4.031 kB / 0.5088 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.965e-05/0.177, allocations: 0 / 0.5088 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.177, allocations: 7.984 kB / 0.5088 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.177, allocations: 0 / 0.5088 GB, free: 1.285 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.105e-05/0.1771, allocations: 83.28 kB / 0.5089 GB, free: 1.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1771, allocations: 0 / 0.5089 GB, free: 1.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002091/0.1773, allocations: 20 kB / 0.5089 GB, free: 1.184 MB / 398.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.000234/0.1775, allocations: 135.3 kB / 0.5091 GB, free: 1.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.1777, allocations: 47.98 kB / 0.5091 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1777, allocations: 0 / 0.5091 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.412e-05/0.1778, allocations: 31.92 kB / 0.5092 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.178, allocations: 15.22 kB / 0.5092 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.1784, allocations: 152.4 kB / 0.5093 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.1787, allocations: 0.6807 MB / 0.51 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.294e-05/0.1787, allocations: 19.73 kB / 0.51 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.1788, allocations: 11.44 kB / 0.51 GB, free: 44 kB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1788, allocations: 0 / 0.51 GB, free: 44 kB / 398.1 MB Notification: Performance of Templates: time 0.003665/0.1824, allocations: 0.825 MB / 0.5108 GB, free: 15.24 MB / 414.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)