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.001154/0.001159, allocations: 108 kB / 15.6 MB, free: 132 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.001159/0.001159, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.038/1.038, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 69.06 kB / 0.5054 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2071, allocations: 80.93 MB / 0.5844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00198/0.2091, allocations: 0.5895 MB / 0.585 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.2107, allocations: 1.273 MB / 0.5862 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.2107, allocations: 0 / 0.5862 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.2108, allocations: 3.938 kB / 0.5862 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.125e-05/0.2108, allocations: 0 / 0.5862 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.2112, allocations: 75.73 kB / 0.5863 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.324e-05/0.2113, allocations: 15.98 kB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.2114, allocations: 11.98 kB / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.519e-05/0.2114, allocations: 7.938 kB / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.2115, allocations: 19.91 kB / 0.5863 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.2115, allocations: 4 kB / 0.5863 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.2117, allocations: 95.89 kB / 0.5864 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.2117, allocations: 4 kB / 0.5864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.2118, allocations: 15.92 kB / 0.5864 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.2119, allocations: 59.86 kB / 0.5865 GB, free: 2.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2119, allocations: 0 / 0.5865 GB, free: 2.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2119, allocations: 0 / 0.5865 GB, free: 2.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.2119, allocations: 7.938 kB / 0.5865 GB, free: 2.332 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.0004732/0.2124, allocations: 347.5 kB / 0.5868 GB, free: 1.945 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.2125, allocations: 12.03 kB / 0.5869 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.2125, allocations: 0.9375 kB / 0.5869 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2126, allocations: 168.6 kB / 0.587 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.2127, allocations: 4.375 kB / 0.587 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.2127, allocations: 4.375 kB / 0.587 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.2128, allocations: 69.95 kB / 0.5871 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2129, allocations: 0 / 0.5871 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2129, allocations: 0 / 0.5871 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2129, allocations: 4 kB / 0.5871 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.006e-05/0.213, allocations: 27.92 kB / 0.5871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.2132, allocations: 165.6 kB / 0.5873 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.2133, allocations: 58.55 kB / 0.5873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/0.2133, allocations: 24.86 kB / 0.5874 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005506/0.2139, allocations: 0.5661 MB / 0.5879 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.2139, allocations: 34.5 kB / 0.5879 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.2139, allocations: 0 / 0.5879 GB, free: 0.5742 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.02007/0.234, allocations: 4.303 MB / 0.5921 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.2341, allocations: 55.41 kB / 0.5922 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.2342, allocations: 93.8 kB / 0.5923 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-05/0.2342, allocations: 29.7 kB / 0.5923 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.2343, allocations: 80.14 kB / 0.5924 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.2344, allocations: 67.2 kB / 0.5925 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.2347, allocations: 93.67 kB / 0.5925 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2348, allocations: 322.8 kB / 0.5929 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/0.2353, allocations: 307.9 kB / 0.5932 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005156/0.2358, allocations: 307.9 kB / 0.5934 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.2374, allocations: 0.7531 MB / 0.5942 GB, free: 10 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2374, allocations: 0 / 0.5942 GB, free: 10 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0015/0.2389, allocations: 0.7903 MB / 0.595 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.2389, allocations: 4 kB / 0.595 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.2389, allocations: 4 kB / 0.595 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.239, allocations: 7.938 kB / 0.595 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.2398, allocations: 91.94 kB / 0.5951 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.2399, allocations: 0 / 0.5951 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/0.2404, allocations: 8 kB / 0.5951 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.636e-05/0.2405, allocations: 31.98 kB / 0.5951 GB, free: 9.062 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.0002041/0.2407, allocations: 133.6 kB / 0.5952 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.65e-05/0.2408, allocations: 4 kB / 0.5952 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/0.2441, allocations: 1.388 MB / 0.5966 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.2441, allocations: 7.938 kB / 0.5966 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2441, allocations: 0 / 0.5966 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.2441, allocations: 0 / 0.5966 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.247, allocations: 1.821 MB / 0.5984 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2471, allocations: 0 / 0.5984 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008145/0.2479, allocations: 111.8 kB / 0.5985 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.2479, allocations: 4 kB / 0.5985 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-05/0.248, allocations: 27.94 kB / 0.5985 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.248, allocations: 4.031 kB / 0.5985 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.248, allocations: 11.92 kB / 0.5985 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.2503, allocations: 1.449 MB / 0.5999 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.2504, allocations: 92.98 kB / 0.6 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.493e-05/0.2505, allocations: 11.94 kB / 0.6 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005405/0.2511, allocations: 12 kB / 0.6 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.2512, allocations: 48.02 kB / 0.6001 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.328e-05/0.2513, allocations: 28 kB / 0.6001 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.418e-05/0.2513, allocations: 75.28 kB / 0.6002 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2513, allocations: 0 / 0.6002 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005528/0.2519, allocations: 176 kB / 0.6004 GB, free: 3.555 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.0004775/0.2524, allocations: 213.1 kB / 0.6006 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.2537, allocations: 0.7518 MB / 0.6013 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.2537, allocations: 4.094 kB / 0.6013 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006432/0.2544, allocations: 451.8 kB / 0.6017 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.2547, allocations: 12 kB / 0.6017 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.2582, allocations: 0.8045 MB / 0.6025 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.2586, allocations: 0.718 MB / 0.6032 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001398/0.26, allocations: 293.5 kB / 0.6035 GB, free: 272 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005332/0.2605, allocations: 91.41 kB / 0.6036 GB, free: 180 kB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.2605, allocations: 0 / 0.6036 GB, free: 180 kB / 0.4981 GB Notification: Performance of Templates: time 0.2788/0.5394, allocations: 11.18 MB / 0.6145 GB, free: 52.25 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)