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.0009167/0.0009165, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001032/0.001032, allocations: 177.3 kB / 15.95 MB, free: 216 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.23/1.23, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.836/0.836, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002945, allocations: 8.75 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1563, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006458/0.157, allocations: 323.1 kB / 0.5875 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1585, allocations: 1.225 MB / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.778e-05/0.1585, allocations: 7.938 kB / 0.5887 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.13e-05/0.1586, allocations: 0 / 0.5887 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.143e-05/0.1586, allocations: 3.938 kB / 0.5887 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.1589, allocations: 47.83 kB / 0.5888 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.374e-05/0.159, allocations: 11.98 kB / 0.5888 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.159, allocations: 7.969 kB / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.28e-05/0.159, allocations: 15.92 kB / 0.5888 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.1591, allocations: 15.92 kB / 0.5888 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1591, allocations: 0 / 0.5888 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.1593, allocations: 91.89 kB / 0.5889 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.1594, allocations: 7.938 kB / 0.5889 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.1594, allocations: 29.7 kB / 0.5889 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.1595, allocations: 43.94 kB / 0.589 GB, free: 1.262 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1595, allocations: 0 / 0.589 GB, free: 1.262 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1595, allocations: 0 / 0.589 GB, free: 1.262 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1595, allocations: 0 / 0.589 GB, free: 1.262 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.0004186/0.16, allocations: 341 kB / 0.5893 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.16, allocations: 16.02 kB / 0.5893 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.16, allocations: 4 kB / 0.5893 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1602, allocations: 171.2 kB / 0.5895 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1602, allocations: 4 kB / 0.5895 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.1602, allocations: 4 kB / 0.5895 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.1603, allocations: 53.61 kB / 0.5896 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1604, allocations: 0 / 0.5896 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1604, allocations: 0 / 0.5896 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1604, allocations: 4 kB / 0.5896 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.4e-05/0.1605, allocations: 23.98 kB / 0.5896 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.1607, allocations: 177.5 kB / 0.5898 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.1608, allocations: 50.56 kB / 0.5898 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005051/0.1613, allocations: 0.5622 MB / 0.5903 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1613, allocations: 38.44 kB / 0.5904 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1613, allocations: 4 kB / 0.5904 GB, free: 15.54 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.01768/0.179, allocations: 4.197 MB / 0.5945 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.1791, allocations: 55.41 kB / 0.5945 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.486e-05/0.1792, allocations: 97.8 kB / 0.5946 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.375e-05/0.1793, allocations: 29.7 kB / 0.5947 GB, free: 11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.1793, allocations: 84.27 kB / 0.5947 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.854e-05/0.1794, allocations: 59.11 kB / 0.5948 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.1795, allocations: 4 kB / 0.5948 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1796, allocations: 318.8 kB / 0.5951 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004665/0.1801, allocations: 307.9 kB / 0.5954 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.1805, allocations: 309.9 kB / 0.5957 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/0.1812, allocations: 379.9 kB / 0.5961 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1812, allocations: 0 / 0.5961 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001346/0.1825, allocations: 0.7864 MB / 0.5968 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1826, allocations: 13.72 kB / 0.5968 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1826, allocations: 0 / 0.5968 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1826, allocations: 0 / 0.5968 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007931/0.1834, allocations: 91.94 kB / 0.5969 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1834, allocations: 3.938 kB / 0.5969 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.1839, allocations: 12 kB / 0.5969 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/0.184, allocations: 35.94 kB / 0.597 GB, free: 8.609 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.0001868/0.1842, allocations: 117.8 kB / 0.5971 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/0.1843, allocations: 11.91 kB / 0.5971 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.1873, allocations: 1.392 MB / 0.5985 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.1873, allocations: 4 kB / 0.5985 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1873, allocations: 0 / 0.5985 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.1873, allocations: 0 / 0.5985 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.19, allocations: 1.818 MB / 0.6002 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.19, allocations: 4 kB / 0.6002 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007574/0.1908, allocations: 103.9 kB / 0.6003 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.1908, allocations: 4 kB / 0.6003 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/0.1909, allocations: 31.95 kB / 0.6004 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.1909, allocations: 7.938 kB / 0.6004 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1909, allocations: 0 / 0.6004 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.193, allocations: 1.463 MB / 0.6018 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.1931, allocations: 92.91 kB / 0.6019 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/0.1932, allocations: 12 kB / 0.6019 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.1937, allocations: 8 kB / 0.6019 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.1938, allocations: 47.95 kB / 0.602 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.207e-05/0.1939, allocations: 24 kB / 0.602 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.343e-05/0.194, allocations: 83.22 kB / 0.6021 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.194, allocations: 160 / 0.6021 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005758/0.1945, allocations: 180 kB / 0.6022 GB, free: 3.094 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.0005144/0.1951, allocations: 215.1 kB / 0.6024 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.1962, allocations: 0.7229 MB / 0.6031 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1962, allocations: 0 / 0.6031 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005921/0.1968, allocations: 455.7 kB / 0.6036 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.197, allocations: 4 kB / 0.6036 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.2001, allocations: 0.8621 MB / 0.6044 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.2004, allocations: 0.7223 MB / 0.6051 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.2311/0.4315, allocations: 291.2 kB / 0.6054 GB, free: 49.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/0.432, allocations: 91.81 kB / 0.6055 GB, free: 49.45 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.4321, allocations: 0 / 0.6055 GB, free: 49.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.01232/0.4444, allocations: 10.35 MB / 0.6156 GB, free: 48.89 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: