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.000845/0.0008451, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009112/0.0009113, allocations: 182.9 kB / 16.92 MB, free: 6.926 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.305/1.305, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9192/0.9192, allocations: 135.3 MB / 427.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003182, allocations: 15.94 kB / 0.5083 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1529, allocations: 82.3 MB / 0.5886 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007271/0.1537, allocations: 335 kB / 0.5889 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1552, allocations: 1.265 MB / 0.5902 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.1553, allocations: 0 / 0.5902 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.1553, allocations: 4 kB / 0.5902 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.858e-05/0.1553, allocations: 3.938 kB / 0.5902 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.1556, allocations: 59.86 kB / 0.5902 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.396e-05/0.1557, allocations: 15.98 kB / 0.5903 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.1557, allocations: 4 kB / 0.5903 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.387e-05/0.1558, allocations: 11.92 kB / 0.5903 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.1558, allocations: 19.91 kB / 0.5903 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.1559, allocations: 4 kB / 0.5903 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.1561, allocations: 87.91 kB / 0.5904 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.1561, allocations: 11.98 kB / 0.5904 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.1561, allocations: 33.64 kB / 0.5904 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.818e-05/0.1562, allocations: 47.88 kB / 0.5905 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1563, allocations: 4 kB / 0.5905 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1563, allocations: 0 / 0.5905 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1563, allocations: 0 / 0.5905 GB, free: 0.7227 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.0004187/0.1567, allocations: 343.5 kB / 0.5908 GB, free: 348 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1567, allocations: 11.97 kB / 0.5908 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.1568, allocations: 4.938 kB / 0.5908 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.1569, allocations: 164.6 kB / 0.591 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1569, allocations: 8.375 kB / 0.591 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.1569, allocations: 4.375 kB / 0.591 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1571, allocations: 57.98 kB / 0.591 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1571, allocations: 0 / 0.591 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1571, allocations: 0 / 0.591 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.1571, allocations: 4 kB / 0.591 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.893e-05/0.1572, allocations: 19.98 kB / 0.5911 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.1574, allocations: 177.5 kB / 0.5912 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.1575, allocations: 62.5 kB / 0.5913 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.1575, allocations: 28.84 kB / 0.5913 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004456/0.158, allocations: 0.5544 MB / 0.5919 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.158, allocations: 34.73 kB / 0.5919 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.158, allocations: 0 / 0.5919 GB, free: 14.98 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.01954/0.1776, allocations: 4.203 MB / 0.596 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1777, allocations: 59.39 kB / 0.5961 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.51e-05/0.1777, allocations: 93.86 kB / 0.5962 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.725e-05/0.1778, allocations: 29.7 kB / 0.5962 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.1778, allocations: 80.14 kB / 0.5963 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.178, allocations: 59.12 kB / 0.5963 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.626e-05/0.1781, allocations: 29.77 kB / 0.5963 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1782, allocations: 322.8 kB / 0.5966 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/0.1787, allocations: 315.8 kB / 0.5969 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/0.1792, allocations: 307.9 kB / 0.5972 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.1807, allocations: 0.7488 MB / 0.598 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1807, allocations: 0 / 0.598 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001506/0.1822, allocations: 0.7981 MB / 0.5988 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1823, allocations: 4 kB / 0.5988 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1823, allocations: 3.938 kB / 0.5988 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1823, allocations: 4 kB / 0.5988 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00082/0.1831, allocations: 95.89 kB / 0.5989 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.1831, allocations: 8.062 kB / 0.5989 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.1837, allocations: 7.984 kB / 0.5989 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.477e-05/0.1838, allocations: 31.98 kB / 0.5989 GB, free: 7.617 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.0001905/0.184, allocations: 121.8 kB / 0.599 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/0.184, allocations: 4 kB / 0.599 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/0.1874, allocations: 1.388 MB / 0.6004 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1875, allocations: 8 kB / 0.6004 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1875, allocations: 3.984 kB / 0.6004 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1875, allocations: 0 / 0.6004 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.1904, allocations: 1.809 MB / 0.6022 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1904, allocations: 32 / 0.6022 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007973/0.1912, allocations: 115.9 kB / 0.6023 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1913, allocations: 0 / 0.6023 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-05/0.1913, allocations: 35.92 kB / 0.6023 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1913, allocations: 4 kB / 0.6023 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1913, allocations: 0 / 0.6023 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/0.1937, allocations: 1.457 MB / 0.6037 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.1937, allocations: 89.03 kB / 0.6038 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.876e-05/0.1938, allocations: 16 kB / 0.6038 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.1943, allocations: 8 kB / 0.6038 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.1945, allocations: 43.97 kB / 0.6039 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.227e-05/0.1946, allocations: 35.98 kB / 0.6039 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.323e-05/0.1946, allocations: 75.28 kB / 0.604 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1946, allocations: 0 / 0.604 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005664/0.1952, allocations: 168 kB / 0.6041 GB, free: 2.129 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.0004833/0.1957, allocations: 219.8 kB / 0.6044 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.1969, allocations: 0.7261 MB / 0.6051 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1969, allocations: 0 / 0.6051 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006283/0.1975, allocations: 451.8 kB / 0.6055 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.1979, allocations: 17.03 kB / 0.6055 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2388/0.4367, allocations: 0.8955 MB / 0.6064 GB, free: 50.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.4369, allocations: 0.7164 MB / 0.6071 GB, free: 49.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006445/0.4375, allocations: 90.8 kB / 0.6072 GB, free: 49.77 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.4375, allocations: 0 / 0.6072 GB, free: 49.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.008131/0.4457, allocations: 6.83 MB / 0.6138 GB, free: 49.49 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)