Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001249/0.001249, 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.001246/0.001246, allocations: 192.4 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9296/0.9296, allocations: 135.6 MB / 425.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 72.73 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1562, allocations: 81.02 MB / 0.5845 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001792/0.158, allocations: 0.6583 MB / 0.5852 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.1597, allocations: 1.265 MB / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.1598, allocations: 0 / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.1598, allocations: 0 / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.208e-05/0.1598, allocations: 0 / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.1602, allocations: 67.81 kB / 0.5865 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.143e-05/0.1603, allocations: 23.97 kB / 0.5865 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.1603, allocations: 4 kB / 0.5865 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.361e-05/0.1603, allocations: 7.938 kB / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.1604, allocations: 15.92 kB / 0.5865 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1604, allocations: 7.938 kB / 0.5865 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.1606, allocations: 95.89 kB / 0.5866 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.1607, allocations: 11.98 kB / 0.5866 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.1607, allocations: 7.938 kB / 0.5866 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.1608, allocations: 71.84 kB / 0.5867 GB, free: 2.062 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1609, allocations: 0 / 0.5867 GB, free: 2.062 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1609, allocations: 0 / 0.5867 GB, free: 2.062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1609, allocations: 0 / 0.5867 GB, free: 2.062 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004966/0.1614, allocations: 347.5 kB / 0.587 GB, free: 1.676 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1614, allocations: 12.03 kB / 0.587 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.1615, allocations: 0.9375 kB / 0.587 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.1616, allocations: 172.5 kB / 0.5872 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1616, allocations: 12.38 kB / 0.5872 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.1617, allocations: 8.359 kB / 0.5872 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1618, allocations: 50 kB / 0.5873 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.726e-05/0.1619, allocations: 4 kB / 0.5873 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1619, allocations: 0 / 0.5873 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1619, allocations: 0 / 0.5873 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.525e-05/0.162, allocations: 23.97 kB / 0.5873 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.1622, allocations: 165.6 kB / 0.5875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.1623, allocations: 66.5 kB / 0.5875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.117e-05/0.1624, allocations: 28.84 kB / 0.5875 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005612/0.1629, allocations: 0.5505 MB / 0.5881 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.163, allocations: 38.73 kB / 0.5881 GB, free: 320 kB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.163, allocations: 0 / 0.5881 GB, free: 320 kB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01918/0.1822, allocations: 4.311 MB / 0.5923 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.1822, allocations: 59.34 kB / 0.5924 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.104e-05/0.1823, allocations: 97.84 kB / 0.5925 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.194e-05/0.1824, allocations: 29.83 kB / 0.5925 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.318e-05/0.1825, allocations: 84.14 kB / 0.5926 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.1826, allocations: 55.11 kB / 0.5926 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.1829, allocations: 93.67 kB / 0.5927 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.183, allocations: 322.8 kB / 0.593 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/0.1836, allocations: 307.9 kB / 0.5933 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.1841, allocations: 311.8 kB / 0.5936 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.1855, allocations: 0.7527 MB / 0.5944 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1856, allocations: 4 kB / 0.5944 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001541/0.1871, allocations: 0.7903 MB / 0.5951 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1871, allocations: 7.984 kB / 0.5951 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1871, allocations: 0 / 0.5951 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1872, allocations: 0 / 0.5951 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007431/0.1879, allocations: 91.89 kB / 0.5952 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1879, allocations: 4 kB / 0.5952 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.1884, allocations: 12 kB / 0.5953 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-05/0.1885, allocations: 39.91 kB / 0.5953 GB, free: 8.781 MB / 0.4981 GB 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 (18): * Single equations (assignments): 18 * 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 0.0001933/0.1887, allocations: 121.8 kB / 0.5954 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.1888, allocations: 4 kB / 0.5954 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003337/0.1921, allocations: 1.392 MB / 0.5968 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1921, allocations: 4 kB / 0.5968 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1921, allocations: 0 / 0.5968 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1921, allocations: 3.984 kB / 0.5968 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002873/0.195, allocations: 1.802 MB / 0.5985 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.195, allocations: 7.938 kB / 0.5985 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/0.1958, allocations: 107.9 kB / 0.5986 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1958, allocations: 3.984 kB / 0.5986 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.555e-05/0.1959, allocations: 39.92 kB / 0.5987 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1959, allocations: 0 / 0.5987 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1959, allocations: 0 / 0.5987 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.1982, allocations: 1.453 MB / 0.6001 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.1983, allocations: 92.97 kB / 0.6002 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.1984, allocations: 16 kB / 0.6002 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.1989, allocations: 16 kB / 0.6002 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.199, allocations: 35.97 kB / 0.6003 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.853e-05/0.1991, allocations: 35.98 kB / 0.6003 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.749e-05/0.1991, allocations: 75.28 kB / 0.6004 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1991, allocations: 0 / 0.6004 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005352/0.1997, allocations: 172 kB / 0.6005 GB, free: 3.297 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 40 * 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.000475/0.2002, allocations: 219.8 kB / 0.6007 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.2015, allocations: 0.7557 MB / 0.6015 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2015, allocations: 0 / 0.6015 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006674/0.2022, allocations: 455.8 kB / 0.6019 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.2025, allocations: 12 kB / 0.6019 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.2057, allocations: 0.8516 MB / 0.6028 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.2061, allocations: 0.718 MB / 0.6035 GB, free: 248 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.2241/0.4302, allocations: 296.2 kB / 0.6037 GB, free: 52.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005573/0.4308, allocations: 86.52 kB / 0.6038 GB, free: 52.2 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.4308, allocations: 0 / 0.6038 GB, free: 52.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.01267/0.4435, allocations: 11.17 MB / 0.6147 GB, free: 51.78 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)