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.009947/0.009947, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002018/0.002018, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.022/1.022, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 63.91 kB / 0.5857 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.4766, allocations: 80.91 MB / 0.6647 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00164/0.4783, allocations: 0.6114 MB / 0.6653 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.4797, allocations: 1.276 MB / 0.6665 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.4797, allocations: 0 / 0.6665 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.4798, allocations: 9.281 kB / 0.6665 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.284e-05/0.4798, allocations: 4 kB / 0.6665 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.4802, allocations: 67.98 kB / 0.6666 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.481e-05/0.4802, allocations: 23.19 kB / 0.6666 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.4803, allocations: 2.531 kB / 0.6666 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.237e-05/0.4803, allocations: 12.89 kB / 0.6666 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.605e-05/0.4804, allocations: 16.02 kB / 0.6667 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.4804, allocations: 1.625 kB / 0.6667 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.4806, allocations: 94.92 kB / 0.6668 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.4806, allocations: 5.25 kB / 0.6668 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.4807, allocations: 23.94 kB / 0.6668 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.4808, allocations: 56.94 kB / 0.6668 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.4808, allocations: 0 / 0.6668 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.183e-06/0.4808, allocations: 1.281 kB / 0.6668 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.4808, allocations: 0 / 0.6668 GB, free: 5.934 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.000349/0.4812, allocations: 356.6 kB / 0.6672 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.4812, allocations: 10.34 kB / 0.6672 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.4813, allocations: 6.266 kB / 0.6672 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.475e-05/0.4813, allocations: 169.7 kB / 0.6674 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.4814, allocations: 5.625 kB / 0.6674 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.4814, allocations: 7.281 kB / 0.6674 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.4815, allocations: 53.98 kB / 0.6674 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4815, allocations: 0 / 0.6674 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4815, allocations: 5.594 kB / 0.6674 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.4815, allocations: 1.156 kB / 0.6674 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.305e-05/0.4816, allocations: 26.39 kB / 0.6674 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.4817, allocations: 164.7 kB / 0.6676 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.4818, allocations: 67.98 kB / 0.6677 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.4819, allocations: 20.48 kB / 0.6677 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/0.4822, allocations: 0.5524 MB / 0.6682 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.4823, allocations: 43.89 kB / 0.6683 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.4823, allocations: 4 kB / 0.6683 GB, free: 4.293 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.01912/0.5014, allocations: 4.283 MB / 0.6725 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.5015, allocations: 52.84 kB / 0.6725 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.109e-05/0.5015, allocations: 99.27 kB / 0.6726 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-05/0.5016, allocations: 31.2 kB / 0.6726 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.488e-05/0.5016, allocations: 80.14 kB / 0.6727 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.5017, allocations: 62.28 kB / 0.6728 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.502, allocations: 92.66 kB / 0.6729 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.502, allocations: 320 kB / 0.6732 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.5025, allocations: 314.2 kB / 0.6735 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.503, allocations: 309.2 kB / 0.6738 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.5044, allocations: 0.7536 MB / 0.6745 GB, free: 500 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5044, allocations: 4 kB / 0.6745 GB, free: 496 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001454/0.5059, allocations: 0.7914 MB / 0.6753 GB, free: 92 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.5059, allocations: 8.75 kB / 0.6753 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5059, allocations: 0 / 0.6753 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5059, allocations: 1.062 kB / 0.6753 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007885/0.5067, allocations: 99.97 kB / 0.6754 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.5067, allocations: 1.094 kB / 0.6754 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.5072, allocations: 5.719 kB / 0.6754 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/0.5073, allocations: 35.83 kB / 0.6754 GB, free: 56 kB / 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.0002094/0.5075, allocations: 127 kB / 0.6755 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-05/0.5076, allocations: 6.359 kB / 0.6755 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003282/0.5109, allocations: 1.389 MB / 0.6769 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.511, allocations: 4.625 kB / 0.6769 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.511, allocations: 0 / 0.6769 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.511, allocations: 0 / 0.6769 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/0.514, allocations: 1.816 MB / 0.6787 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.5141, allocations: 5.172 kB / 0.6787 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007445/0.5148, allocations: 108.7 kB / 0.6788 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.5148, allocations: 2.75 kB / 0.6788 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.148e-05/0.5149, allocations: 28.72 kB / 0.6788 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.5149, allocations: 2.562 kB / 0.6788 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5149, allocations: 7.969 kB / 0.6788 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.5173, allocations: 1.455 MB / 0.6802 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.5174, allocations: 94.11 kB / 0.6803 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.14e-05/0.5175, allocations: 10.62 kB / 0.6803 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000514/0.518, allocations: 8.906 kB / 0.6804 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.5182, allocations: 46.92 kB / 0.6804 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-05/0.5182, allocations: 30.28 kB / 0.6804 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.918e-05/0.5183, allocations: 80.72 kB / 0.6805 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5183, allocations: 0 / 0.6805 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005979/0.5189, allocations: 171.3 kB / 0.6807 GB, free: 12.74 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.0005524/0.5195, allocations: 228.1 kB / 0.6809 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.5208, allocations: 0.7251 MB / 0.6816 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5208, allocations: 1.281 kB / 0.6816 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000784/0.5216, allocations: 459.1 kB / 0.682 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.522, allocations: 20.62 kB / 0.6821 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/0.5254, allocations: 0.802 MB / 0.6828 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.5258, allocations: 0.7133 MB / 0.6835 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001064/0.5269, allocations: 299.9 kB / 0.6838 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/0.5275, allocations: 93.62 kB / 0.6839 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of SimCode: time 6.81e-07/0.5275, allocations: 0 / 0.6839 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.02062/0.5481, allocations: 11.2 MB / 0.6948 GB, free: 2.184 MB / 0.5137 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)