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.005745/0.005745, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001274/0.001274, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7882/0.7882, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 64.72 kB / 0.5857 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1756, allocations: 80.93 MB / 0.6647 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00195/0.1776, allocations: 0.5876 MB / 0.6653 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.1795, allocations: 1.286 MB / 0.6665 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.1796, allocations: 0 / 0.6665 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.1796, allocations: 3.938 kB / 0.6665 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.739e-05/0.1797, allocations: 4 kB / 0.6665 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.1801, allocations: 71.72 kB / 0.6666 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.438e-05/0.1802, allocations: 23.92 kB / 0.6666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.1803, allocations: 4 kB / 0.6666 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.498e-05/0.1803, allocations: 7.984 kB / 0.6666 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.277e-05/0.1804, allocations: 23.91 kB / 0.6667 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.1804, allocations: 4 kB / 0.6667 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.1807, allocations: 99.78 kB / 0.6668 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.1807, allocations: 7.984 kB / 0.6668 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.1807, allocations: 11.92 kB / 0.6668 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1809, allocations: 59.86 kB / 0.6668 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1809, allocations: 4 kB / 0.6668 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1809, allocations: 0 / 0.6668 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.1809, allocations: 4 kB / 0.6668 GB, free: 3.52 MB / 0.4981 GB 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.0004779/0.1814, allocations: 351.5 kB / 0.6672 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1815, allocations: 9.109 kB / 0.6672 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.1815, allocations: 0.9375 kB / 0.6672 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1816, allocations: 168.3 kB / 0.6673 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1817, allocations: 384 / 0.6673 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.1817, allocations: 8.375 kB / 0.6674 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.1818, allocations: 53.98 kB / 0.6674 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1818, allocations: 4 kB / 0.6674 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1819, allocations: 0 / 0.6674 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1819, allocations: 4 kB / 0.6674 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.1819, allocations: 27.92 kB / 0.6674 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.1821, allocations: 169.6 kB / 0.6676 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.1823, allocations: 66.52 kB / 0.6677 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.1823, allocations: 20.86 kB / 0.6677 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004977/0.1828, allocations: 0.5661 MB / 0.6682 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1829, allocations: 34.5 kB / 0.6683 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.1829, allocations: 0 / 0.6683 GB, free: 1.766 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.01929/0.2022, allocations: 4.296 MB / 0.6725 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.2023, allocations: 59.34 kB / 0.6725 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.979e-05/0.2024, allocations: 93.86 kB / 0.6726 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.158e-05/0.2025, allocations: 29.7 kB / 0.6726 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.2025, allocations: 80.14 kB / 0.6727 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.2026, allocations: 55.16 kB / 0.6728 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.203, allocations: 93.67 kB / 0.6729 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2031, allocations: 322.9 kB / 0.6732 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/0.2037, allocations: 311.9 kB / 0.6735 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.2042, allocations: 309.8 kB / 0.6738 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.2058, allocations: 0.7584 MB / 0.6745 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2058, allocations: 3.938 kB / 0.6745 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001571/0.2074, allocations: 0.7881 MB / 0.6753 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.2074, allocations: 4 kB / 0.6753 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.2075, allocations: 4 kB / 0.6753 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.2075, allocations: 0 / 0.6753 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000794/0.2083, allocations: 91.94 kB / 0.6754 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2083, allocations: 4 kB / 0.6754 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.2088, allocations: 8 kB / 0.6754 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-05/0.2089, allocations: 31.98 kB / 0.6754 GB, free: 10.25 MB / 0.5137 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.0002193/0.2091, allocations: 127 kB / 0.6755 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.2092, allocations: 7.906 kB / 0.6755 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/0.2122, allocations: 1.384 MB / 0.6769 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.2123, allocations: 4 kB / 0.6769 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2123, allocations: 0 / 0.6769 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2123, allocations: 0 / 0.6769 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/0.2153, allocations: 1.814 MB / 0.6787 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2153, allocations: 0 / 0.6787 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007549/0.2161, allocations: 107.9 kB / 0.6788 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.2161, allocations: 7.938 kB / 0.6788 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.044e-05/0.2162, allocations: 27.94 kB / 0.6788 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.2162, allocations: 4 kB / 0.6788 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2162, allocations: 0 / 0.6788 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/0.2186, allocations: 1.454 MB / 0.6802 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.2187, allocations: 92.86 kB / 0.6803 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.766e-05/0.2188, allocations: 12 kB / 0.6803 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004557/0.2193, allocations: 16 kB / 0.6803 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.2194, allocations: 43.95 kB / 0.6804 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.656e-05/0.2195, allocations: 32 kB / 0.6804 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.2195, allocations: 75.28 kB / 0.6805 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2195, allocations: 4 kB / 0.6805 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006161/0.2202, allocations: 172 kB / 0.6807 GB, free: 4.762 MB / 0.5137 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.0005708/0.2207, allocations: 227.8 kB / 0.6809 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.2221, allocations: 0.7261 MB / 0.6816 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2221, allocations: 0 / 0.6816 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007456/0.2229, allocations: 455.6 kB / 0.682 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.2232, allocations: 22.03 kB / 0.682 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.2264, allocations: 0.8004 MB / 0.6828 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.2267, allocations: 0.7143 MB / 0.6835 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009687/0.2277, allocations: 301.5 kB / 0.6838 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/0.2283, allocations: 95.41 kB / 0.6839 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.2283, allocations: 3.938 kB / 0.6839 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of Templates: time 0.01869/0.247, allocations: 11.2 MB / 0.6948 GB, free: 6.207 MB / 0.5294 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)