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.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001173/0.001173, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9897/0.9897, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 69.42 kB / 0.5047 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1723, allocations: 80.92 MB / 0.5837 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001954/0.1743, allocations: 0.666 MB / 0.5844 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.176, allocations: 1.281 MB / 0.5856 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.353e-05/0.1761, allocations: 3.938 kB / 0.5856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.1761, allocations: 7.938 kB / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.895e-05/0.1761, allocations: 0 / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.1764, allocations: 51.88 kB / 0.5857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.1765, allocations: 15.98 kB / 0.5857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.1765, allocations: 4 kB / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.482e-05/0.1766, allocations: 15.92 kB / 0.5857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.1766, allocations: 15.92 kB / 0.5857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1767, allocations: 8 kB / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.1769, allocations: 95.89 kB / 0.5858 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.1769, allocations: 7.922 kB / 0.5858 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.1769, allocations: 11.94 kB / 0.5858 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.1771, allocations: 63.84 kB / 0.5859 GB, free: 2.758 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1771, allocations: 0 / 0.5859 GB, free: 2.758 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1771, allocations: 0 / 0.5859 GB, free: 2.758 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1771, allocations: 0 / 0.5859 GB, free: 2.758 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.0004608/0.1776, allocations: 355.5 kB / 0.5862 GB, free: 2.363 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1776, allocations: 12.03 kB / 0.5863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.1776, allocations: 0.9375 kB / 0.5863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1778, allocations: 164.6 kB / 0.5864 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.1778, allocations: 4.375 kB / 0.5864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.1778, allocations: 8.375 kB / 0.5864 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.1779, allocations: 53.98 kB / 0.5865 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1779, allocations: 0 / 0.5865 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.178, allocations: 4 kB / 0.5865 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.178, allocations: 0 / 0.5865 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.682e-05/0.178, allocations: 31.92 kB / 0.5865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.1782, allocations: 169.6 kB / 0.5867 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.1784, allocations: 54.56 kB / 0.5867 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.1784, allocations: 28.83 kB / 0.5868 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/0.179, allocations: 0.5544 MB / 0.5873 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.179, allocations: 42.5 kB / 0.5873 GB, free: 1.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.179, allocations: 0 / 0.5873 GB, free: 1.004 MB / 494.1 MB 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.01983/0.1989, allocations: 4.304 MB / 0.5915 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.1989, allocations: 59.41 kB / 0.5916 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.199, allocations: 93.84 kB / 0.5917 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/0.1991, allocations: 29.7 kB / 0.5917 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.1991, allocations: 80.14 kB / 0.5918 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.1993, allocations: 59.11 kB / 0.5918 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.1995, allocations: 89.67 kB / 0.5919 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.1996, allocations: 322.8 kB / 0.5922 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/0.2002, allocations: 316 kB / 0.5925 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/0.2007, allocations: 307.9 kB / 0.5928 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.2022, allocations: 0.7492 MB / 0.5936 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2022, allocations: 0 / 0.5936 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001595/0.2038, allocations: 0.7941 MB / 0.5943 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2038, allocations: 4 kB / 0.5943 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2038, allocations: 0 / 0.5943 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.2038, allocations: 0 / 0.5943 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00077/0.2046, allocations: 99.94 kB / 0.5944 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2046, allocations: 0 / 0.5944 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004491/0.2051, allocations: 12 kB / 0.5945 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.983e-05/0.2052, allocations: 35.97 kB / 0.5945 GB, free: 9.488 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.0002066/0.2054, allocations: 129.7 kB / 0.5946 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/0.2055, allocations: 4 kB / 0.5946 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/0.2088, allocations: 1.385 MB / 0.596 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.2089, allocations: 4 kB / 0.596 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2089, allocations: 0 / 0.596 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2089, allocations: 7.984 kB / 0.596 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.2119, allocations: 1.809 MB / 0.5977 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.2119, allocations: 4 kB / 0.5978 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/0.2127, allocations: 111.8 kB / 0.5979 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.2127, allocations: 0 / 0.5979 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.189e-05/0.2128, allocations: 35.88 kB / 0.5979 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.2128, allocations: 3.984 kB / 0.5979 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2128, allocations: 0 / 0.5979 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.2152, allocations: 1.457 MB / 0.5993 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.2153, allocations: 92.98 kB / 0.5994 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.771e-05/0.2154, allocations: 15.86 kB / 0.5994 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.2159, allocations: 12 kB / 0.5994 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.2161, allocations: 39.97 kB / 0.5995 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.28e-05/0.2161, allocations: 32 kB / 0.5995 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.2162, allocations: 75.28 kB / 0.5996 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2162, allocations: 4.156 kB / 0.5996 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006279/0.2168, allocations: 172 kB / 0.5997 GB, free: 3.992 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.0005347/0.2174, allocations: 215.7 kB / 0.5999 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.2186, allocations: 0.7284 MB / 0.6007 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2186, allocations: 0 / 0.6007 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006719/0.2193, allocations: 451.8 kB / 0.6011 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.2197, allocations: 12 kB / 0.6011 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.2229, allocations: 0.8608 MB / 0.6019 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.2232, allocations: 0.7223 MB / 0.6026 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001417/0.2246, allocations: 289.5 kB / 0.6029 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/0.2252, allocations: 99.41 kB / 0.603 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.2252, allocations: 0 / 0.603 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of Templates: time 0.2636/0.4888, allocations: 10.67 MB / 0.6134 GB, free: 52.28 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)