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.001648/0.001648, allocations: 107.8 kB / 16.41 MB, free: 6.473 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.001706/0.001706, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8621/0.8621, allocations: 135.2 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 73.84 kB / 0.5864 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1594, allocations: 80.92 MB / 0.6654 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001784/0.1612, allocations: 0.6032 MB / 0.666 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.163, allocations: 1.282 MB / 0.6672 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.1631, allocations: 0 / 0.6672 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.1631, allocations: 3.938 kB / 0.6673 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.069e-05/0.1631, allocations: 4 kB / 0.6673 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.1635, allocations: 67.73 kB / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.159e-05/0.1636, allocations: 27.91 kB / 0.6673 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.864e-05/0.1636, allocations: 4 kB / 0.6674 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.437e-05/0.1637, allocations: 8 kB / 0.6674 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.413e-05/0.1638, allocations: 19.91 kB / 0.6674 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1638, allocations: 4 kB / 0.6674 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.164, allocations: 95.83 kB / 0.6675 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.164, allocations: 7.984 kB / 0.6675 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.1641, allocations: 11.94 kB / 0.6675 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.1642, allocations: 59.8 kB / 0.6675 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1642, allocations: 0 / 0.6675 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1642, allocations: 4 kB / 0.6676 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.1642, allocations: 0 / 0.6676 GB, free: 3.473 MB / 0.4981 GB 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.0005449/0.1648, allocations: 351.3 kB / 0.6679 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1648, allocations: 13.11 kB / 0.6679 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.1648, allocations: 4.891 kB / 0.6679 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.165, allocations: 164.4 kB / 0.6681 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.165, allocations: 384 / 0.6681 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.1651, allocations: 8.375 kB / 0.6681 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1652, allocations: 61.97 kB / 0.6681 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1652, allocations: 3.938 kB / 0.6681 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1652, allocations: 7.938 kB / 0.6681 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1652, allocations: 0 / 0.6681 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.586e-05/0.1653, allocations: 23.98 kB / 0.6682 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.1656, allocations: 169.6 kB / 0.6683 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1657, allocations: 50.56 kB / 0.6684 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.1657, allocations: 28.84 kB / 0.6684 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006062/0.1663, allocations: 0.5544 MB / 0.6689 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.1664, allocations: 38.44 kB / 0.669 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.1664, allocations: 0 / 0.669 GB, free: 1.723 MB / 0.4981 GB 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.02006/0.1864, allocations: 4.313 MB / 0.6732 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1865, allocations: 51.41 kB / 0.6732 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.704e-05/0.1866, allocations: 93.84 kB / 0.6733 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.378e-05/0.1867, allocations: 33.7 kB / 0.6734 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.1867, allocations: 80.14 kB / 0.6734 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.1868, allocations: 71.55 kB / 0.6735 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/0.1871, allocations: 85.67 kB / 0.6736 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1873, allocations: 330.7 kB / 0.6739 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005834/0.1878, allocations: 303.9 kB / 0.6742 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.1884, allocations: 311.9 kB / 0.6745 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.1901, allocations: 0.7565 MB / 0.6752 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1901, allocations: 0 / 0.6752 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001691/0.1918, allocations: 0.7864 MB / 0.676 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.1918, allocations: 9.719 kB / 0.676 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1918, allocations: 4 kB / 0.676 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1918, allocations: 0 / 0.676 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/0.1926, allocations: 91.94 kB / 0.6761 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1926, allocations: 0 / 0.6761 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/0.1932, allocations: 16 kB / 0.6761 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.161e-05/0.1932, allocations: 35.97 kB / 0.6761 GB, free: 10.18 MB / 0.5137 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.0002118/0.1935, allocations: 121.7 kB / 0.6763 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-05/0.1935, allocations: 7.953 kB / 0.6763 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/0.1968, allocations: 1.385 MB / 0.6776 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1968, allocations: 4 kB / 0.6776 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1968, allocations: 4 kB / 0.6776 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1968, allocations: 3.984 kB / 0.6776 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.2, allocations: 1.814 MB / 0.6794 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2, allocations: 0 / 0.6794 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008009/0.2008, allocations: 107.9 kB / 0.6795 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.2008, allocations: 4 kB / 0.6795 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.305e-05/0.2009, allocations: 27.94 kB / 0.6795 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.387e-06/0.2009, allocations: 7.984 kB / 0.6795 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2009, allocations: 3.938 kB / 0.6796 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.2034, allocations: 1.45 MB / 0.681 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.2035, allocations: 93.05 kB / 0.6811 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/0.2036, allocations: 15.92 kB / 0.6811 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005144/0.2041, allocations: 8 kB / 0.6811 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.2043, allocations: 43.97 kB / 0.6811 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/0.2044, allocations: 24 kB / 0.6811 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.307e-05/0.2044, allocations: 87.22 kB / 0.6812 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.2044, allocations: 160 / 0.6812 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006099/0.205, allocations: 183.7 kB / 0.6814 GB, free: 4.68 MB / 0.5137 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.0005452/0.2056, allocations: 211.5 kB / 0.6816 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.2069, allocations: 0.7184 MB / 0.6823 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2069, allocations: 0 / 0.6823 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006922/0.2076, allocations: 403.6 kB / 0.6827 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.208, allocations: 16 kB / 0.6827 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.2115, allocations: 0.8407 MB / 0.6835 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.2119, allocations: 0.7142 MB / 0.6842 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005948/0.2125, allocations: 91.41 kB / 0.6843 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.2125, allocations: 0 / 0.6843 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of Templates: time 0.01108/0.2236, allocations: 6.86 MB / 0.691 GB, free: 10.8 MB / 0.5294 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)