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.001167/0.001167, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001266/0.001266, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.204/1.204, 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.7266/0.7266, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 68.7 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.123, allocations: 80.93 MB / 0.6654 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001545/0.1246, allocations: 0.5915 MB / 0.6659 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1261, allocations: 1.278 MB / 0.6672 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.1261, allocations: 7.938 kB / 0.6672 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.1261, allocations: 0 / 0.6672 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.644e-05/0.1262, allocations: 0 / 0.6672 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.1265, allocations: 75.73 kB / 0.6673 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.209e-05/0.1266, allocations: 27.91 kB / 0.6673 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.1266, allocations: 0 / 0.6673 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.1e-05/0.1266, allocations: 15.98 kB / 0.6673 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.1267, allocations: 15.92 kB / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1267, allocations: 0 / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.1269, allocations: 103.8 kB / 0.6674 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.1269, allocations: 0 / 0.6674 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.127, allocations: 19.91 kB / 0.6674 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.1271, allocations: 59.86 kB / 0.6675 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1271, allocations: 8 kB / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1271, allocations: 0 / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1271, 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.0003824/0.1275, allocations: 351.5 kB / 0.6678 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1276, allocations: 9.109 kB / 0.6679 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.1276, allocations: 0.9375 kB / 0.6679 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1277, allocations: 168.3 kB / 0.668 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.1277, allocations: 384 / 0.668 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.1278, allocations: 4.375 kB / 0.668 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.1279, allocations: 61.98 kB / 0.6681 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1279, allocations: 3.938 kB / 0.6681 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.1279, allocations: 3.938 kB / 0.6681 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1279, allocations: 0 / 0.6681 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.126e-05/0.128, allocations: 27.98 kB / 0.6681 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.1281, allocations: 161.7 kB / 0.6683 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.1283, allocations: 58.55 kB / 0.6683 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.1283, allocations: 28.86 kB / 0.6684 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004338/0.1287, allocations: 0.5583 MB / 0.6689 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1288, allocations: 42.44 kB / 0.6689 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.1288, allocations: 0 / 0.6689 GB, free: 1.793 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.01861/0.1474, allocations: 4.298 MB / 0.6731 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.1474, allocations: 59.34 kB / 0.6732 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.462e-05/0.1475, allocations: 89.86 kB / 0.6733 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.342e-05/0.1476, allocations: 33.7 kB / 0.6733 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.1476, allocations: 80.27 kB / 0.6734 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.98e-05/0.1477, allocations: 59.16 kB / 0.6734 GB, free: 13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.1479, allocations: 89.67 kB / 0.6735 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.308e-05/0.148, allocations: 318.8 kB / 0.6738 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/0.1485, allocations: 315.8 kB / 0.6741 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.149, allocations: 311.9 kB / 0.6744 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.1504, allocations: 0.7563 MB / 0.6752 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1504, allocations: 0 / 0.6752 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001395/0.1518, allocations: 0.7881 MB / 0.6759 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1518, allocations: 8 kB / 0.6759 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1518, allocations: 4 kB / 0.676 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1518, allocations: 0 / 0.676 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007974/0.1526, allocations: 91.94 kB / 0.676 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1526, allocations: 0 / 0.676 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/0.1532, allocations: 12 kB / 0.676 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.1532, allocations: 31.98 kB / 0.6761 GB, free: 10.27 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.0001877/0.1534, allocations: 127 kB / 0.6762 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.387e-05/0.1535, allocations: 11.89 kB / 0.6762 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.1564, allocations: 1.384 MB / 0.6776 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1564, allocations: 0 / 0.6776 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1564, allocations: 4 kB / 0.6776 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.1565, allocations: 92.94 kB / 0.6777 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.983e-05/0.1566, allocations: 8 kB / 0.6777 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/0.1571, allocations: 15.94 kB / 0.6777 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.1572, allocations: 39.97 kB / 0.6777 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001618/0.1588, allocations: 0.9888 MB / 0.6787 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002209/0.1611, allocations: 1.545 MB / 0.6802 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005426/0.1616, allocations: 424.5 kB / 0.6806 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.651e-05/0.1616, allocations: 83.2 kB / 0.6807 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of Backend: time 4.21e-07/0.1616, allocations: 0 / 0.6807 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.163, allocations: 0.549 MB / 0.6812 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0007205/0.1637, allocations: 0.7221 MB / 0.6819 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.01485/0.1786, allocations: 11.44 MB / 0.6931 GB, free: 8.77 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)