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.001649/0.001649, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001898/0.001898, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8015/0.8015, allocations: 135.1 MB / 426.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 72.59 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1454, allocations: 80.93 MB / 0.6654 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00179/0.1473, allocations: 0.5983 MB / 0.6659 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.149, allocations: 1.282 MB / 0.6672 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.149, allocations: 3.938 kB / 0.6672 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.1491, allocations: 7.938 kB / 0.6672 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.086e-05/0.1491, allocations: 0 / 0.6672 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.1495, allocations: 67.75 kB / 0.6673 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.762e-05/0.1496, allocations: 23.92 kB / 0.6673 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.1497, allocations: 3.984 kB / 0.6673 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.961e-05/0.1497, allocations: 15.98 kB / 0.6673 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.299e-05/0.1498, allocations: 15.92 kB / 0.6673 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1498, allocations: 0 / 0.6673 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.1501, allocations: 99.83 kB / 0.6674 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.1501, allocations: 4 kB / 0.6674 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.1501, allocations: 15.92 kB / 0.6674 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.1503, allocations: 63.86 kB / 0.6675 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1503, allocations: 0 / 0.6675 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1503, allocations: 0 / 0.6675 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1503, allocations: 0 / 0.6675 GB, free: 3.527 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.0004692/0.1508, allocations: 355.5 kB / 0.6678 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1508, allocations: 9.109 kB / 0.6678 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.1509, allocations: 4.938 kB / 0.6678 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.151, allocations: 168.3 kB / 0.668 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.151, allocations: 384 / 0.668 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.1511, allocations: 8.375 kB / 0.668 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.1512, allocations: 53.98 kB / 0.6681 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1512, allocations: 0 / 0.6681 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1512, allocations: 7.938 kB / 0.6681 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1512, allocations: 4 kB / 0.6681 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.482e-05/0.1513, allocations: 23.92 kB / 0.6681 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.1515, allocations: 165.7 kB / 0.6683 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.1516, allocations: 58.55 kB / 0.6683 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.1517, allocations: 20.86 kB / 0.6683 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004834/0.1522, allocations: 0.5583 MB / 0.6689 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1522, allocations: 42.5 kB / 0.6689 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 3.686e-06/0.1522, allocations: 4 kB / 0.6689 GB, free: 1.773 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.02024/0.1724, allocations: 4.301 MB / 0.6731 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1725, allocations: 51.41 kB / 0.6732 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.442e-05/0.1726, allocations: 97.86 kB / 0.6733 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.593e-05/0.1727, allocations: 29.7 kB / 0.6733 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.1728, allocations: 80.14 kB / 0.6734 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.1729, allocations: 63.14 kB / 0.6734 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.1731, allocations: 85.67 kB / 0.6735 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1733, allocations: 326.8 kB / 0.6738 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005287/0.1738, allocations: 311.8 kB / 0.6741 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/0.1744, allocations: 307.9 kB / 0.6744 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.1759, allocations: 0.7602 MB / 0.6752 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1759, allocations: 0 / 0.6752 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001574/0.1775, allocations: 0.792 MB / 0.6759 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1775, allocations: 4 kB / 0.6759 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1775, allocations: 0 / 0.6759 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1775, allocations: 0 / 0.6759 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008916/0.1784, allocations: 95.94 kB / 0.676 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1785, allocations: 4 kB / 0.676 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.179, allocations: 4 kB / 0.676 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-05/0.1791, allocations: 31.98 kB / 0.6761 GB, free: 10.26 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.000204/0.1793, allocations: 135 kB / 0.6762 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.72e-05/0.1794, allocations: 7.906 kB / 0.6762 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/0.1827, allocations: 1.38 MB / 0.6776 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1827, allocations: 4 kB / 0.6776 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1827, allocations: 4 kB / 0.6776 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1828, allocations: 3.984 kB / 0.6776 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.1857, allocations: 1.802 MB / 0.6793 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1857, allocations: 0 / 0.6793 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008604/0.1866, allocations: 115.8 kB / 0.6794 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.1866, allocations: 0 / 0.6794 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.502e-05/0.1867, allocations: 31.94 kB / 0.6795 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.1867, allocations: 4 kB / 0.6795 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1867, allocations: 4.031 kB / 0.6795 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.1891, allocations: 1.454 MB / 0.6809 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.1892, allocations: 96.83 kB / 0.681 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.821e-05/0.1893, allocations: 11.94 kB / 0.681 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005618/0.1899, allocations: 11.98 kB / 0.681 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.19, allocations: 43.97 kB / 0.681 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/0.1901, allocations: 36.06 kB / 0.6811 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.937e-05/0.1902, allocations: 75.28 kB / 0.6812 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.024e-06/0.1902, allocations: 0 / 0.6812 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005758/0.1908, allocations: 175.9 kB / 0.6813 GB, free: 4.758 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.000533/0.1913, allocations: 215.7 kB / 0.6815 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001254/0.1926, allocations: 0.7223 MB / 0.6822 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1926, allocations: 0 / 0.6822 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006652/0.1932, allocations: 463.7 kB / 0.6827 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1936, allocations: 16 kB / 0.6827 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.1972, allocations: 0.8216 MB / 0.6835 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1975, allocations: 0.722 MB / 0.6842 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/0.1981, allocations: 99.47 kB / 0.6843 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1981, allocations: 0 / 0.6843 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of Templates: time 0.0105/0.2086, allocations: 6.845 MB / 0.691 GB, free: 10.83 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)