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.001235/0.001235, allocations: 110.9 kB / 16.38 MB, free: 6.414 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.00125/0.00125, allocations: 192.9 kB / 17.32 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.188/1.188, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7248/0.7248, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.001101, allocations: 66.56 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.121, allocations: 80.91 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001363/0.1224, allocations: 0.607 MB / 0.6659 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1237, allocations: 1.29 MB / 0.6671 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.1237, allocations: 0 / 0.6671 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.1238, allocations: 0 / 0.6671 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.51e-05/0.1238, allocations: 3.938 kB / 0.6672 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.1241, allocations: 75.73 kB / 0.6672 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.9e-05/0.1242, allocations: 19.98 kB / 0.6672 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.55e-05/0.1242, allocations: 0 / 0.6672 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.999e-05/0.1242, allocations: 15.97 kB / 0.6673 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.567e-05/0.1243, allocations: 15.92 kB / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.759e-06/0.1243, allocations: 0 / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.1245, allocations: 99.83 kB / 0.6674 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.1245, allocations: 4 kB / 0.6674 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.1245, allocations: 11.88 kB / 0.6674 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.1247, allocations: 75.89 kB / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1247, allocations: 0 / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1247, allocations: 0 / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.1247, allocations: 0 / 0.6675 GB, free: 3.543 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.0003721/0.1251, allocations: 347.5 kB / 0.6678 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.1251, allocations: 13.09 kB / 0.6678 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.1251, allocations: 4.938 kB / 0.6678 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.447e-05/0.1252, allocations: 164.3 kB / 0.668 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1252, allocations: 4.375 kB / 0.668 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.1253, allocations: 8.375 kB / 0.668 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.1254, allocations: 61.92 kB / 0.668 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1254, allocations: 0 / 0.668 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1254, allocations: 0 / 0.668 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1254, allocations: 7.984 kB / 0.668 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.791e-05/0.1255, allocations: 19.98 kB / 0.6681 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.1256, allocations: 161.7 kB / 0.6682 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.571e-05/0.1257, allocations: 62.56 kB / 0.6683 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.1258, allocations: 24.84 kB / 0.6683 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/0.1262, allocations: 0.5583 MB / 0.6688 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.1262, allocations: 34.5 kB / 0.6689 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.031e-06/0.1262, allocations: 0 / 0.6689 GB, free: 1.801 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.0185/0.1447, allocations: 4.31 MB / 0.6731 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.1448, allocations: 55.41 kB / 0.6731 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.518e-05/0.1449, allocations: 93.86 kB / 0.6732 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.972e-05/0.1449, allocations: 25.7 kB / 0.6732 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.624e-05/0.145, allocations: 88.27 kB / 0.6733 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.79e-05/0.1451, allocations: 51.17 kB / 0.6734 GB, free: 13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.1453, allocations: 93.66 kB / 0.6735 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.1454, allocations: 322.8 kB / 0.6738 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/0.1459, allocations: 307.9 kB / 0.6741 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004896/0.1464, allocations: 309.8 kB / 0.6744 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.1478, allocations: 0.7562 MB / 0.6751 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1478, allocations: 0 / 0.6751 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001426/0.1492, allocations: 0.7981 MB / 0.6759 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1493, allocations: 4 kB / 0.6759 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1493, allocations: 0 / 0.6759 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1493, allocations: 0 / 0.6759 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.1501, allocations: 91.94 kB / 0.676 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1501, allocations: 4 kB / 0.676 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.1506, allocations: 12 kB / 0.676 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.167e-05/0.1507, allocations: 32.92 kB / 0.676 GB, free: 10.28 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.0001799/0.1509, allocations: 123 kB / 0.6761 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/0.1509, allocations: 11.91 kB / 0.6762 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/0.1538, allocations: 1.384 MB / 0.6775 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1539, allocations: 8 kB / 0.6775 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1539, allocations: 4 kB / 0.6775 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1539, allocations: 0 / 0.6775 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.1564, allocations: 1.806 MB / 0.6793 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1565, allocations: 0 / 0.6793 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007744/0.1572, allocations: 111.9 kB / 0.6794 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1573, allocations: 0 / 0.6794 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-05/0.1573, allocations: 35.94 kB / 0.6794 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1573, allocations: 0 / 0.6794 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1573, allocations: 0 / 0.6794 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.1595, allocations: 1.458 MB / 0.6808 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.1595, allocations: 92.89 kB / 0.6809 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.129e-05/0.1596, allocations: 11.94 kB / 0.6809 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/0.1601, allocations: 12 kB / 0.681 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.1603, allocations: 47.89 kB / 0.681 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/0.1604, allocations: 35.98 kB / 0.681 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.573e-05/0.1604, allocations: 75.34 kB / 0.6811 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1604, allocations: 4.094 kB / 0.6811 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005224/0.1609, allocations: 168 kB / 0.6813 GB, free: 4.785 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.0004412/0.1614, allocations: 223.7 kB / 0.6815 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.1625, allocations: 0.728 MB / 0.6822 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1625, allocations: 0 / 0.6822 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006075/0.1631, allocations: 455.7 kB / 0.6826 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.1634, allocations: 16 kB / 0.6826 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/0.1667, allocations: 0.8334 MB / 0.6835 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.167, allocations: 0.7142 MB / 0.6842 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.1675, allocations: 91.41 kB / 0.6842 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1675, allocations: 0 / 0.6842 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of Templates: time 0.008129/0.1756, allocations: 6.839 MB / 0.6909 GB, free: 10.86 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)