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.001029/0.001029, allocations: 84.38 kB / 15.06 MB, free: 1.09 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: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.3 MB / 426.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004597, allocations: 16 kB / 0.507 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1734, allocations: 82.3 MB / 0.5874 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0009379/0.1744, allocations: 331 kB / 0.5877 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.1769, allocations: 1.223 MB / 0.5889 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.177, allocations: 0 / 0.5889 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.177, allocations: 3.938 kB / 0.5889 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.328e-05/0.1771, allocations: 3.938 kB / 0.5889 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.1775, allocations: 51.89 kB / 0.589 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.715e-05/0.1776, allocations: 19.98 kB / 0.589 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.29e-05/0.1777, allocations: 7.969 kB / 0.589 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/0.1778, allocations: 15.94 kB / 0.589 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.337e-05/0.1779, allocations: 7.984 kB / 0.589 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1779, allocations: 0 / 0.589 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.1782, allocations: 103.8 kB / 0.5891 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.1782, allocations: 0 / 0.5891 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.1783, allocations: 29.7 kB / 0.5891 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.1785, allocations: 39.94 kB / 0.5892 GB, free: 1.176 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1785, allocations: 0 / 0.5892 GB, free: 1.176 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1785, allocations: 8 kB / 0.5892 GB, free: 1.168 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1785, allocations: 0 / 0.5892 GB, free: 1.168 MB / 494.1 MB 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.0005463/0.1791, allocations: 339.3 kB / 0.5895 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1791, allocations: 8.031 kB / 0.5895 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.1792, allocations: 4 kB / 0.5895 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1793, allocations: 171.2 kB / 0.5897 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.1794, allocations: 4 kB / 0.5897 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.1794, allocations: 4 kB / 0.5897 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.1796, allocations: 57.67 kB / 0.5897 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1796, allocations: 0 / 0.5897 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1796, allocations: 0 / 0.5897 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.1797, allocations: 4 kB / 0.5897 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.415e-05/0.1797, allocations: 19.98 kB / 0.5898 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.18, allocations: 173.5 kB / 0.5899 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1802, allocations: 66.48 kB / 0.59 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.1803, allocations: 28.86 kB / 0.59 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006427/0.1809, allocations: 0.5583 MB / 0.5906 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.181, allocations: 30.56 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 3.687e-06/0.181, allocations: 0 / 0.5906 GB, free: 15.43 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.02134/0.2023, allocations: 4.211 MB / 0.5947 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.2024, allocations: 55.36 kB / 0.5948 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.2025, allocations: 101.8 kB / 0.5949 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/0.2025, allocations: 25.7 kB / 0.5949 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.2026, allocations: 80.14 kB / 0.595 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.2027, allocations: 55.2 kB / 0.595 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.2028, allocations: 4 kB / 0.595 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2029, allocations: 323 kB / 0.5953 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/0.2034, allocations: 311.8 kB / 0.5956 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.2039, allocations: 310.1 kB / 0.5959 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007221/0.2046, allocations: 383.9 kB / 0.5963 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.2046, allocations: 0 / 0.5963 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00151/0.2061, allocations: 0.7826 MB / 0.597 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2062, allocations: 6.188 kB / 0.597 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2062, allocations: 4 kB / 0.5971 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2062, allocations: 0 / 0.5971 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006879/0.2069, allocations: 91.94 kB / 0.5971 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2069, allocations: 7.938 kB / 0.5971 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003904/0.2073, allocations: 15.95 kB / 0.5972 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/0.2074, allocations: 35.91 kB / 0.5972 GB, free: 8.48 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000177/0.2076, allocations: 121.8 kB / 0.5973 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.2076, allocations: 7.906 kB / 0.5973 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003444/0.2111, allocations: 1.388 MB / 0.5987 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2111, allocations: 8 kB / 0.5987 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2111, allocations: 4 kB / 0.5987 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2111, allocations: 0 / 0.5987 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.214, allocations: 1.81 MB / 0.6005 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.214, allocations: 0 / 0.6005 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006985/0.2147, allocations: 111.8 kB / 0.6006 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.2147, allocations: 11.98 kB / 0.6006 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/0.2148, allocations: 24 kB / 0.6006 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.2148, allocations: 7.938 kB / 0.6006 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2148, allocations: 4 kB / 0.6006 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.2172, allocations: 1.445 MB / 0.602 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.2172, allocations: 92.95 kB / 0.6021 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.068e-05/0.2173, allocations: 11.95 kB / 0.6021 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.2178, allocations: 16.06 kB / 0.6021 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.2179, allocations: 43.95 kB / 0.6022 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-05/0.218, allocations: 28 kB / 0.6022 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.218, allocations: 75.28 kB / 0.6023 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.218, allocations: 0 / 0.6023 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005948/0.2186, allocations: 176 kB / 0.6024 GB, free: 2.988 MB / 0.4981 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.0004901/0.2191, allocations: 215.1 kB / 0.6026 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.2204, allocations: 0.7308 MB / 0.6034 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2204, allocations: 0 / 0.6034 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000662/0.2211, allocations: 455.7 kB / 0.6038 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.2214, allocations: 15.27 kB / 0.6038 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.2243, allocations: 0.8544 MB / 0.6046 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2719/0.4962, allocations: 0.7122 MB / 0.6053 GB, free: 49.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001589/0.4978, allocations: 294.6 kB / 0.6056 GB, free: 49.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.4983, allocations: 91.17 kB / 0.6057 GB, free: 49.49 MB / 0.4981 GB Notification: Performance of SimCode: time 8.91e-07/0.4983, allocations: 0 / 0.6057 GB, free: 49.49 MB / 0.4981 GB Notification: Performance of Templates: time 0.01409/0.5124, allocations: 10.36 MB / 0.6158 GB, free: 48.91 MB / 0.4981 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)