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.0009482/0.0009482, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004749/0.004749, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.048/1.048, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004309, allocations: 8.656 kB / 0.5076 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1742, allocations: 82.32 MB / 0.588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006632/0.1749, allocations: 334.9 kB / 0.5883 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1765, allocations: 1.273 MB / 0.5896 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.175e-05/0.1765, allocations: 0 / 0.5896 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.664e-06/0.1765, allocations: 0 / 0.5896 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.381e-05/0.1766, allocations: 0 / 0.5896 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1768, allocations: 51.83 kB / 0.5896 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.207e-05/0.1769, allocations: 23.98 kB / 0.5896 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.799e-05/0.1769, allocations: 3.984 kB / 0.5896 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.749e-05/0.1769, allocations: 11.94 kB / 0.5896 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.177, allocations: 19.91 kB / 0.5897 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.177, allocations: 0 / 0.5897 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.1772, allocations: 95.89 kB / 0.5897 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.1773, allocations: 4 kB / 0.5898 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.1773, allocations: 37.62 kB / 0.5898 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.1774, allocations: 63.86 kB / 0.5898 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1774, allocations: 4 kB / 0.5899 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1774, allocations: 3.938 kB / 0.5899 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.1775, allocations: 4 kB / 0.5899 GB, free: 0.6914 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.0003229/0.1778, allocations: 339.5 kB / 0.5902 GB, free: 320 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.1778, allocations: 8.031 kB / 0.5902 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.1778, allocations: 4.938 kB / 0.5902 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.614e-05/0.1779, allocations: 172.5 kB / 0.5904 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.178, allocations: 384 / 0.5904 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.178, allocations: 8.375 kB / 0.5904 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1781, allocations: 65.97 kB / 0.5904 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1781, allocations: 0 / 0.5904 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.1781, allocations: 0 / 0.5904 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1781, allocations: 4 kB / 0.5904 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.819e-05/0.1782, allocations: 20.05 kB / 0.5905 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.1784, allocations: 165.5 kB / 0.5906 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.1785, allocations: 62.48 kB / 0.5907 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.19e-05/0.1785, allocations: 32.84 kB / 0.5907 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004576/0.179, allocations: 0.5544 MB / 0.5912 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.179, allocations: 38.48 kB / 0.5913 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.179, allocations: 0 / 0.5913 GB, free: 14.95 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.02144/0.2005, allocations: 4.209 MB / 0.5954 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.2006, allocations: 55.41 kB / 0.5954 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.2006, allocations: 89.86 kB / 0.5955 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.857e-05/0.2007, allocations: 29.7 kB / 0.5956 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.2008, allocations: 84.14 kB / 0.5956 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.2009, allocations: 55.19 kB / 0.5957 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.201, allocations: 21.72 kB / 0.5957 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2011, allocations: 326.8 kB / 0.596 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005564/0.2017, allocations: 319.7 kB / 0.5963 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/0.2023, allocations: 306.1 kB / 0.5966 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.2039, allocations: 0.7546 MB / 0.5974 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2039, allocations: 0 / 0.5974 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00164/0.2055, allocations: 0.7927 MB / 0.5981 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2056, allocations: 4 kB / 0.5981 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2056, allocations: 0 / 0.5981 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2056, allocations: 0 / 0.5981 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008413/0.2064, allocations: 95.88 kB / 0.5982 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.2065, allocations: 8 kB / 0.5982 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006752/0.2071, allocations: 4 kB / 0.5982 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.2073, allocations: 39.97 kB / 0.5983 GB, free: 7.594 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.2075, allocations: 117.8 kB / 0.5984 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.2076, allocations: 7.938 kB / 0.5984 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003411/0.211, allocations: 1.385 MB / 0.5997 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.211, allocations: 8 kB / 0.5998 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.211, allocations: 4 kB / 0.5998 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.211, allocations: 3.984 kB / 0.5998 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.214, allocations: 1.809 MB / 0.6015 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.214, allocations: 4 kB / 0.6015 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007959/0.2149, allocations: 107.9 kB / 0.6016 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.2149, allocations: 0 / 0.6016 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.207e-05/0.215, allocations: 43.91 kB / 0.6017 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.215, allocations: 0 / 0.6017 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.215, allocations: 0 / 0.6017 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.2174, allocations: 1.457 MB / 0.6031 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.2174, allocations: 85.05 kB / 0.6032 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.2175, allocations: 11.94 kB / 0.6032 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006044/0.2181, allocations: 16.05 kB / 0.6032 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.2183, allocations: 43.97 kB / 0.6033 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.991e-05/0.2184, allocations: 32 kB / 0.6033 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.2184, allocations: 75.28 kB / 0.6034 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2184, allocations: 0 / 0.6034 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005897/0.219, allocations: 172 kB / 0.6035 GB, free: 2.105 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 (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.0005238/0.2195, allocations: 215.7 kB / 0.6037 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.2209, allocations: 0.7301 MB / 0.6044 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.221, allocations: 0 / 0.6044 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007448/0.2217, allocations: 451.8 kB / 0.6049 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.2221, allocations: 16 kB / 0.6049 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.273/0.4951, allocations: 0.8531 MB / 0.6057 GB, free: 49.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.4953, allocations: 0.7191 MB / 0.6064 GB, free: 49.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001554/0.4969, allocations: 293.7 kB / 0.6067 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/0.4974, allocations: 98.77 kB / 0.6068 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of SimCode: time 1.232e-06/0.4974, allocations: 2.406 kB / 0.6068 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.01399/0.5114, allocations: 10.6 MB / 0.6171 GB, free: 48.64 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)