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.007099/0.007099, allocations: 100.2 kB / 15.87 MB, free: 6.328 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.001612/0.001612, allocations: 197.8 kB / 16.79 MB, free: 6.258 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.309/1.309, allocations: 222.9 MB / 240.5 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8773/0.8773, allocations: 135.1 MB / 425.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.53 kB / 0.5053 GB, free: 5.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1594, allocations: 80.92 MB / 0.5844 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001733/0.1612, allocations: 0.666 MB / 0.585 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1628, allocations: 1.273 MB / 0.5863 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.596e-05/0.1628, allocations: 0 / 0.5863 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.1629, allocations: 0 / 0.5863 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.205e-05/0.1629, allocations: 3.938 kB / 0.5863 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.1632, allocations: 63.86 kB / 0.5863 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.598e-05/0.1633, allocations: 19.92 kB / 0.5863 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.1633, allocations: 4 kB / 0.5863 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.1633, allocations: 8 kB / 0.5863 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.1634, allocations: 15.91 kB / 0.5864 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.1634, allocations: 4 kB / 0.5864 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.1636, allocations: 91.91 kB / 0.5865 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.1636, allocations: 11.97 kB / 0.5865 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.1637, allocations: 11.94 kB / 0.5865 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.581e-05/0.1638, allocations: 39.94 kB / 0.5865 GB, free: 2.711 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1638, allocations: 4 kB / 0.5865 GB, free: 2.707 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1638, allocations: 0 / 0.5865 GB, free: 2.707 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1638, allocations: 4 kB / 0.5865 GB, free: 2.703 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.0004318/0.1642, allocations: 351.4 kB / 0.5869 GB, free: 2.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1643, allocations: 8.031 kB / 0.5869 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.1643, allocations: 4.875 kB / 0.5869 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.861e-05/0.1644, allocations: 168.6 kB / 0.587 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1644, allocations: 8.359 kB / 0.587 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1645, allocations: 8.375 kB / 0.587 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.1646, allocations: 57.98 kB / 0.5871 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1646, allocations: 0 / 0.5871 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1646, allocations: 0 / 0.5871 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1646, allocations: 0 / 0.5871 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.461e-05/0.1647, allocations: 23.98 kB / 0.5871 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.1649, allocations: 173.5 kB / 0.5873 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.165, allocations: 58.62 kB / 0.5873 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.1651, allocations: 28.86 kB / 0.5874 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004617/0.1655, allocations: 0.5583 MB / 0.5879 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1656, allocations: 34.5 kB / 0.588 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1656, allocations: 0 / 0.588 GB, free: 0.9492 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.02044/0.186, allocations: 4.304 MB / 0.5922 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1861, allocations: 55.41 kB / 0.5922 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.769e-05/0.1862, allocations: 89.86 kB / 0.5923 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.974e-05/0.1862, allocations: 25.7 kB / 0.5923 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.1863, allocations: 88.27 kB / 0.5924 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.1864, allocations: 67.03 kB / 0.5925 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.1867, allocations: 89.67 kB / 0.5926 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1868, allocations: 322.8 kB / 0.5929 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/0.1873, allocations: 307.9 kB / 0.5932 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/0.1878, allocations: 307.9 kB / 0.5934 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.1893, allocations: 0.7566 MB / 0.5942 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1893, allocations: 4 kB / 0.5942 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00157/0.1909, allocations: 0.7864 MB / 0.595 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1909, allocations: 8 kB / 0.595 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1909, allocations: 0.9375 kB / 0.595 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1909, allocations: 4 kB / 0.595 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.1917, allocations: 95.88 kB / 0.5951 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1917, allocations: 0 / 0.5951 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.1922, allocations: 8 kB / 0.5951 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.464e-05/0.1923, allocations: 35.97 kB / 0.5951 GB, free: 9.438 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.0001859/0.1925, allocations: 117.8 kB / 0.5952 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/0.1926, allocations: 8 kB / 0.5952 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/0.196, allocations: 1.392 MB / 0.5966 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.196, allocations: 4 kB / 0.5966 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.196, allocations: 0 / 0.5966 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.196, allocations: 3.984 kB / 0.5966 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.199, allocations: 1.817 MB / 0.5984 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.199, allocations: 3.984 kB / 0.5984 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007571/0.1998, allocations: 103.9 kB / 0.5985 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.1998, allocations: 4 kB / 0.5985 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-05/0.1999, allocations: 35.97 kB / 0.5985 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.1999, allocations: 0 / 0.5985 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1999, allocations: 7.938 kB / 0.5985 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.2024, allocations: 1.453 MB / 0.5999 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.2024, allocations: 92.98 kB / 0.6 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.703e-05/0.2025, allocations: 11.94 kB / 0.6 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/0.203, allocations: 15.98 kB / 0.6 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.2032, allocations: 40.03 kB / 0.6001 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.482e-05/0.2033, allocations: 32 kB / 0.6001 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.325e-05/0.2033, allocations: 75.28 kB / 0.6002 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2033, allocations: 0 / 0.6002 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005712/0.2039, allocations: 172 kB / 0.6004 GB, free: 3.945 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.000486/0.2044, allocations: 219.7 kB / 0.6006 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.2058, allocations: 0.7282 MB / 0.6013 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2058, allocations: 4 kB / 0.6013 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006635/0.2064, allocations: 451.8 kB / 0.6017 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.2068, allocations: 16 kB / 0.6017 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.2098, allocations: 0.8899 MB / 0.6026 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.2101, allocations: 0.7184 MB / 0.6033 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005685/0.2107, allocations: 91.41 kB / 0.6034 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.2107, allocations: 0 / 0.6034 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of Templates: time 0.2407/0.4514, allocations: 6.825 MB / 0.61 GB, free: 52.26 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)