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.007612/0.007612, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001415/0.001415, allocations: 192.6 kB / 16.67 MB, free: 5.52 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.54/1.54, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.274/0.274, allocations: 54.96 MB / 324.9 MB, free: 4.852 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.001474/0.001474, allocations: 72.47 kB / 456.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1521, allocations: 59.59 MB / 0.5037 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001715/0.1539, allocations: 0.5522 MB / 0.5043 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.1554, allocations: 1.05 MB / 0.5053 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.1554, allocations: 0 / 0.5053 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.1554, allocations: 0 / 0.5053 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.135e-05/0.1555, allocations: 7.938 kB / 0.5053 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.1559, allocations: 79.73 kB / 0.5054 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.156, allocations: 15.98 kB / 0.5054 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.168e-05/0.1561, allocations: 0 / 0.5054 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.1561, allocations: 7.984 kB / 0.5054 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.013e-05/0.1562, allocations: 15.92 kB / 0.5054 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1562, allocations: 4 kB / 0.5054 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.1564, allocations: 87.91 kB / 0.5055 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.1565, allocations: 7.969 kB / 0.5055 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.1565, allocations: 15.94 kB / 0.5055 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.1567, allocations: 55.86 kB / 0.5056 GB, free: 5.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1567, allocations: 4 kB / 0.5056 GB, free: 5.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1567, allocations: 0 / 0.5056 GB, free: 5.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1567, allocations: 0 / 0.5056 GB, free: 5.129 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.0005168/0.1572, allocations: 343.5 kB / 0.5059 GB, free: 4.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1573, allocations: 8.031 kB / 0.5059 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.1573, allocations: 12.84 kB / 0.5059 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1574, allocations: 172.3 kB / 0.5061 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1575, allocations: 384 / 0.5061 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.1575, allocations: 8.375 kB / 0.5061 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1576, allocations: 45.62 kB / 0.5061 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1576, allocations: 0 / 0.5061 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1576, allocations: 0 / 0.5061 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1577, allocations: 0 / 0.5061 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.157e-05/0.1577, allocations: 12 kB / 0.5062 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.1579, allocations: 157.7 kB / 0.5063 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.158, allocations: 54.56 kB / 0.5064 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/0.1581, allocations: 20.97 kB / 0.5064 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005142/0.1586, allocations: 0.5544 MB / 0.5069 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.1586, allocations: 34.56 kB / 0.507 GB, free: 3.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1586, allocations: 0 / 0.507 GB, free: 3.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001716/0.1604, allocations: 462.5 kB / 0.5074 GB, free: 2.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.1604, allocations: 51.41 kB / 0.5074 GB, free: 2.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.775e-05/0.1605, allocations: 105.8 kB / 0.5075 GB, free: 2.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1605, allocations: 25.7 kB / 0.5076 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.1606, allocations: 80.14 kB / 0.5076 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.1606, allocations: 27.61 kB / 0.5077 GB, free: 2.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.1607, allocations: 17.72 kB / 0.5077 GB, free: 2.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1608, allocations: 322.8 kB / 0.508 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.376e-05/0.1609, allocations: 12 kB / 0.508 GB, free: 2.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.005e-05/0.1609, allocations: 23.98 kB / 0.508 GB, free: 2.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.048e-05/0.161, allocations: 49.17 kB / 0.5081 GB, free: 2.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.161, allocations: 7.875 kB / 0.5081 GB, free: 2.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001359/0.1612, allocations: 85.62 kB / 0.5082 GB, free: 2.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1612, allocations: 4 kB / 0.5082 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1612, allocations: 4 kB / 0.5082 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.1612, allocations: 0 / 0.5082 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1614, allocations: 23.91 kB / 0.5082 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1614, allocations: 0 / 0.5082 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.385e-05/0.1614, allocations: 0 / 0.5082 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1614, allocations: 4 kB / 0.5082 GB, free: 2.047 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 8.786e-05/0.1615, allocations: 121.7 kB / 0.5083 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.1616, allocations: 7.906 kB / 0.5083 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.1618, allocations: 97.62 kB / 0.5084 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1618, allocations: 4 kB / 0.5084 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1618, allocations: 0 / 0.5084 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1618, allocations: 0 / 0.5084 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.162, allocations: 185.5 kB / 0.5086 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.162, allocations: 3.938 kB / 0.5086 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.1621, allocations: 20 kB / 0.5086 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1621, allocations: 0 / 0.5086 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1621, allocations: 0 / 0.5086 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1621, allocations: 0 / 0.5086 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1621, allocations: 4 kB / 0.5086 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.1624, allocations: 137 kB / 0.5088 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.1624, allocations: 81.02 kB / 0.5088 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.1625, allocations: 0 / 0.5088 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.386e-05/0.1625, allocations: 11.97 kB / 0.5088 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.417e-05/0.1625, allocations: 0 / 0.5088 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1626, allocations: 4 kB / 0.5089 GB, free: 1.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.918e-05/0.1626, allocations: 79.27 kB / 0.5089 GB, free: 1.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1626, allocations: 0 / 0.5089 GB, free: 1.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.1628, allocations: 32.16 kB / 0.509 GB, free: 1.168 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.0002165/0.1631, allocations: 123.2 kB / 0.5091 GB, free: 1.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.1632, allocations: 55.95 kB / 0.5091 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1633, allocations: 0 / 0.5091 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.915e-05/0.1633, allocations: 27.98 kB / 0.5092 GB, free: 0.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.1635, allocations: 7.938 kB / 0.5092 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.1639, allocations: 145.5 kB / 0.5093 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1643, allocations: 0.6846 MB / 0.51 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.565e-05/0.1643, allocations: 11.75 kB / 0.51 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.1644, allocations: 11.44 kB / 0.51 GB, free: 48 kB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1644, allocations: 0 / 0.51 GB, free: 48 kB / 398.1 MB Notification: Performance of Templates: time 0.003196/0.1676, allocations: 0.8421 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)