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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.008693/0.008693, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7886/0.7886, allocations: 135.2 MB / 151.1 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 406.9 MB, free: 3.215 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000856/0.0008559, allocations: 87.11 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 12 kB / 0.5691 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4587, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.6122, allocations: 111.9 MB / 0.7587 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.6125, allocations: 79.95 kB / 0.7588 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00717/0.6197, allocations: 2.401 MB / 0.7612 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6198, allocations: 0 / 0.7612 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.6198, allocations: 0 / 0.7612 GB, free: 1.648 MB / 0.5261 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.0003735/0.6202, allocations: 359.1 kB / 0.7615 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.6202, allocations: 8.031 kB / 0.7615 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.6203, allocations: 4 kB / 0.7615 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.6204, allocations: 175 kB / 0.7617 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.6205, allocations: 7.938 kB / 0.7617 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.6205, allocations: 0 / 0.7617 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.6206, allocations: 53.62 kB / 0.7617 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.6206, allocations: 0 / 0.7617 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.6207, allocations: 4 kB / 0.7617 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.6207, allocations: 7.984 kB / 0.7617 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.359e-05/0.6208, allocations: 23.98 kB / 0.7618 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.621, allocations: 173.5 kB / 0.7619 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.6211, allocations: 54.56 kB / 0.762 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004963/0.6216, allocations: 0.5583 MB / 0.7625 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.6216, allocations: 34.5 kB / 0.7626 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.6216, allocations: 0 / 0.7626 GB, free: 15.91 MB / 0.5417 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.01946/0.6411, allocations: 4.193 MB / 0.7667 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.6412, allocations: 51.41 kB / 0.7667 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.238e-05/0.6413, allocations: 93 kB / 0.7668 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.455e-05/0.6413, allocations: 25.7 kB / 0.7668 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.6414, allocations: 80.14 kB / 0.7669 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.6415, allocations: 51.27 kB / 0.7669 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.6416, allocations: 7.938 kB / 0.767 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6417, allocations: 322.9 kB / 0.7673 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.6422, allocations: 311.9 kB / 0.7676 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000537/0.6427, allocations: 307.8 kB / 0.7679 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007935/0.6435, allocations: 385.2 kB / 0.7682 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6436, allocations: 0 / 0.7682 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001565/0.6451, allocations: 0.7836 MB / 0.769 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.6452, allocations: 4 kB / 0.769 GB, free: 9.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.6452, allocations: 11.86 kB / 0.769 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.6452, allocations: 4 kB / 0.769 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/0.646, allocations: 87.95 kB / 0.7691 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.646, allocations: 0 / 0.7691 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.6465, allocations: 12 kB / 0.7691 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.703e-05/0.6466, allocations: 35.97 kB / 0.7691 GB, free: 8.996 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002697/0.6469, allocations: 129.7 kB / 0.7693 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/0.6469, allocations: 7.906 kB / 0.7693 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/0.6504, allocations: 1.38 MB / 0.7706 GB, free: 7.461 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.6504, allocations: 4 kB / 0.7706 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.6504, allocations: 4 kB / 0.7706 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.6504, allocations: 3.984 kB / 0.7706 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/0.6537, allocations: 1.802 MB / 0.7724 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.6537, allocations: 4 kB / 0.7724 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007656/0.6545, allocations: 111.9 kB / 0.7725 GB, free: 5.469 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.6545, allocations: 4 kB / 0.7725 GB, free: 5.465 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.287e-05/0.6546, allocations: 35.98 kB / 0.7725 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.6546, allocations: 3.984 kB / 0.7725 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6546, allocations: 3.938 kB / 0.7725 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/0.6571, allocations: 1.451 MB / 0.774 GB, free: 3.945 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.6572, allocations: 100.9 kB / 0.7741 GB, free: 3.828 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.968e-05/0.6573, allocations: 11.94 kB / 0.7741 GB, free: 3.816 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.6577, allocations: 16.06 kB / 0.7741 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.6579, allocations: 39.97 kB / 0.7741 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.599e-05/0.658, allocations: 28 kB / 0.7741 GB, free: 3.734 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.937e-05/0.658, allocations: 79.28 kB / 0.7742 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.8e-07/0.658, allocations: 0 / 0.7742 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007339/0.6588, allocations: 207.7 kB / 0.7744 GB, free: 3.453 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006225/0.6594, allocations: 250.8 kB / 0.7747 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.6606, allocations: 0.7327 MB / 0.7754 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.6607, allocations: 0 / 0.7754 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006558/0.6613, allocations: 447.8 kB / 0.7758 GB, free: 2.031 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.6615, allocations: 11.94 kB / 0.7758 GB, free: 2.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.6647, allocations: 0.8505 MB / 0.7766 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.6651, allocations: 0.7223 MB / 0.7773 GB, free: 396 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00144/0.6665, allocations: 293.5 kB / 0.7776 GB, free: 104 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.6671, allocations: 91.41 kB / 0.7777 GB, free: 16 kB / 0.5417 GB Notification: Performance of SimCode: time 7.92e-07/0.6671, allocations: 0 / 0.7777 GB, free: 16 kB / 0.5417 GB Notification: Performance of Templates: time 0.01645/0.6835, allocations: 10.1 MB / 0.7876 GB, free: 5.961 MB / 0.5573 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)