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.004816/0.004816, 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.001124/0.001125, 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.37/1.37, 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.8072/0.8072, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 64.72 kB / 0.5857 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1633, 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.00182/0.1651, allocations: 0.5876 MB / 0.6653 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002164/0.1673, allocations: 1.286 MB / 0.6665 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.1674, allocations: 0 / 0.6665 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.1674, allocations: 3.938 kB / 0.6665 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.24e-05/0.1675, allocations: 4 kB / 0.6665 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.1679, allocations: 71.72 kB / 0.6666 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.502e-05/0.168, allocations: 23.92 kB / 0.6666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.1681, allocations: 4 kB / 0.6666 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.615e-05/0.1681, allocations: 7.984 kB / 0.6666 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.1682, allocations: 23.91 kB / 0.6667 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.1682, allocations: 4 kB / 0.6667 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.1685, allocations: 99.78 kB / 0.6668 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.1685, allocations: 7.984 kB / 0.6668 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.1685, allocations: 11.92 kB / 0.6668 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.1687, allocations: 59.86 kB / 0.6668 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.1687, allocations: 4 kB / 0.6668 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1687, allocations: 0 / 0.6668 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.1687, 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.0004959/0.1692, allocations: 351.5 kB / 0.6672 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1693, allocations: 9.109 kB / 0.6672 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.1693, allocations: 0.9375 kB / 0.6672 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.1694, allocations: 168.3 kB / 0.6673 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1695, allocations: 384 / 0.6673 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.1695, allocations: 8.375 kB / 0.6674 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1696, allocations: 53.98 kB / 0.6674 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1697, allocations: 4 kB / 0.6674 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1697, allocations: 0 / 0.6674 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1697, allocations: 4 kB / 0.6674 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.1698, allocations: 27.92 kB / 0.6674 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.17, allocations: 169.6 kB / 0.6676 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.1701, allocations: 66.52 kB / 0.6677 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.1702, allocations: 20.86 kB / 0.6677 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005269/0.1707, allocations: 0.5661 MB / 0.6682 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.1708, allocations: 34.5 kB / 0.6683 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.1708, 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.02028/0.191, allocations: 4.296 MB / 0.6725 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.1911, allocations: 59.34 kB / 0.6725 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.1912, allocations: 93.86 kB / 0.6726 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.1913, allocations: 29.7 kB / 0.6726 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.1913, allocations: 80.14 kB / 0.6727 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.1914, allocations: 55.16 kB / 0.6728 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.1917, allocations: 93.67 kB / 0.6729 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.1918, allocations: 322.9 kB / 0.6732 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/0.1923, allocations: 311.9 kB / 0.6735 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.1929, allocations: 309.8 kB / 0.6738 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.1944, allocations: 0.7584 MB / 0.6745 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1944, 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.001615/0.196, allocations: 0.7881 MB / 0.6753 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1961, allocations: 4 kB / 0.6753 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1961, allocations: 4 kB / 0.6753 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1961, allocations: 0 / 0.6753 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008801/0.197, allocations: 91.94 kB / 0.6754 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.197, allocations: 4 kB / 0.6754 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.1976, allocations: 8 kB / 0.6754 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/0.1977, 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.0002297/0.1979, allocations: 127 kB / 0.6755 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/0.198, allocations: 7.906 kB / 0.6755 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/0.2012, allocations: 1.384 MB / 0.6769 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.2012, allocations: 4 kB / 0.6769 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2012, allocations: 0 / 0.6769 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2012, allocations: 0 / 0.6769 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.2043, allocations: 1.814 MB / 0.6787 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2043, allocations: 0 / 0.6787 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008269/0.2051, allocations: 107.9 kB / 0.6788 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.2051, allocations: 7.938 kB / 0.6788 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.939e-05/0.2052, allocations: 27.94 kB / 0.6788 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.2052, allocations: 4 kB / 0.6788 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2052, allocations: 0 / 0.6788 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.2081, allocations: 1.454 MB / 0.6802 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.2081, allocations: 92.86 kB / 0.6803 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.771e-05/0.2082, allocations: 12 kB / 0.6803 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005497/0.2088, allocations: 16 kB / 0.6803 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.209, allocations: 43.95 kB / 0.6804 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/0.209, allocations: 32 kB / 0.6804 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.679e-05/0.2091, allocations: 75.28 kB / 0.6805 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2091, allocations: 4 kB / 0.6805 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005711/0.2097, 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.0005715/0.2102, allocations: 227.8 kB / 0.6809 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.2118, allocations: 0.7261 MB / 0.6816 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2118, allocations: 0 / 0.6816 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000689/0.2125, 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.0003649/0.2129, 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.003682/0.2165, 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.0003054/0.2169, allocations: 0.7143 MB / 0.6835 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001047/0.2179, 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.000567/0.2185, allocations: 95.41 kB / 0.6839 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of SimCode: time 6.81e-07/0.2185, allocations: 3.938 kB / 0.6839 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of Templates: time 0.01706/0.2356, 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)