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.001751/0.001751, allocations: 108.4 kB / 16.27 MB, free: 6.016 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.001789/0.001789, allocations: 191.7 kB / 17.2 MB, free: 5.625 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.053/1.053, allocations: 135.1 MB / 426.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 59.91 kB / 0.506 GB, free: 8.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3437, allocations: 80.91 MB / 0.585 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001544/0.3453, allocations: 0.6091 MB / 0.5856 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3464, allocations: 1.274 MB / 0.5869 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.3464, allocations: 0 / 0.5869 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.006e-05/0.3464, allocations: 0.8438 kB / 0.5869 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.848e-05/0.3464, allocations: 3.938 kB / 0.5869 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.3467, allocations: 70.55 kB / 0.5869 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.391e-05/0.3468, allocations: 26.94 kB / 0.587 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.3468, allocations: 6.719 kB / 0.587 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.862e-05/0.3469, allocations: 12.38 kB / 0.587 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.3469, allocations: 15.39 kB / 0.587 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.3469, allocations: 2.875 kB / 0.587 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.3471, allocations: 93.86 kB / 0.5871 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.3471, allocations: 10.42 kB / 0.5871 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.3472, allocations: 15.33 kB / 0.5871 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.3473, allocations: 64.52 kB / 0.5872 GB, free: 23.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3473, allocations: 1.188 kB / 0.5872 GB, free: 23.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3473, allocations: 0.5 kB / 0.5872 GB, free: 23.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.3473, allocations: 0.9688 kB / 0.5872 GB, free: 23.61 MB / 446.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.0003157/0.3476, allocations: 348 kB / 0.5875 GB, free: 23.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.3477, allocations: 11.05 kB / 0.5875 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.3477, allocations: 3.094 kB / 0.5875 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.272e-05/0.3478, allocations: 163.9 kB / 0.5877 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3478, allocations: 15.38 kB / 0.5877 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.3478, allocations: 8.203 kB / 0.5877 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.3479, allocations: 54.53 kB / 0.5877 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3479, allocations: 1.094 kB / 0.5877 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.348, allocations: 0 / 0.5877 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.348, allocations: 1.125 kB / 0.5877 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.944e-05/0.348, allocations: 25.97 kB / 0.5878 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.3481, allocations: 173.5 kB / 0.5879 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.429e-05/0.3483, allocations: 61.84 kB / 0.588 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.3483, allocations: 28.44 kB / 0.588 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003147/0.3486, allocations: 0.5545 MB / 0.5886 GB, free: 22.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.3486, allocations: 37.09 kB / 0.5886 GB, free: 21.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.3487, allocations: 0 / 0.5886 GB, free: 21.98 MB / 446.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.01846/0.3671, allocations: 4.302 MB / 0.5928 GB, free: 18.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.3672, allocations: 55.41 kB / 0.5929 GB, free: 18.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.99e-05/0.3672, allocations: 93.84 kB / 0.5929 GB, free: 18.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.3673, allocations: 29.7 kB / 0.593 GB, free: 18.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.133e-05/0.3673, allocations: 80.14 kB / 0.593 GB, free: 18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.577e-05/0.3674, allocations: 59.11 kB / 0.5931 GB, free: 17.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.3676, allocations: 92.55 kB / 0.5932 GB, free: 17.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.742e-05/0.3677, allocations: 322.8 kB / 0.5935 GB, free: 17.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.3681, allocations: 307.9 kB / 0.5938 GB, free: 17.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/0.3685, allocations: 307.9 kB / 0.5941 GB, free: 16.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.3698, allocations: 0.7567 MB / 0.5948 GB, free: 16.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3698, allocations: 0 / 0.5948 GB, free: 16.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001302/0.3711, allocations: 0.7943 MB / 0.5956 GB, free: 15.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3711, allocations: 4 kB / 0.5956 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.3711, allocations: 0 / 0.5956 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3712, allocations: 3.984 kB / 0.5956 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008384/0.372, allocations: 95.89 kB / 0.5957 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.372, allocations: 0 / 0.5957 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/0.3726, allocations: 11.98 kB / 0.5957 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.3726, allocations: 35.97 kB / 0.5957 GB, free: 15.21 MB / 446.1 MB 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.0001578/0.3728, allocations: 121.7 kB / 0.5959 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/0.3729, allocations: 15.91 kB / 0.5959 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/0.3757, allocations: 1.391 MB / 0.5972 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3757, allocations: 4 kB / 0.5972 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3757, allocations: 0 / 0.5972 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3758, allocations: 3.984 kB / 0.5972 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.378, allocations: 1.794 MB / 0.599 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.378, allocations: 4 kB / 0.599 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007732/0.3788, allocations: 103.9 kB / 0.5991 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3788, allocations: 4.031 kB / 0.5991 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.084e-05/0.3789, allocations: 43.86 kB / 0.5991 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3789, allocations: 0 / 0.5991 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3789, allocations: 4 kB / 0.5992 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.3808, allocations: 1.449 MB / 0.6006 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.3808, allocations: 96.97 kB / 0.6007 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.075e-05/0.3809, allocations: 11.94 kB / 0.6007 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/0.3815, allocations: 16.06 kB / 0.6007 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.3816, allocations: 39.97 kB / 0.6007 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/0.3817, allocations: 28 kB / 0.6007 GB, free: 9.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.76e-05/0.3817, allocations: 79.27 kB / 0.6008 GB, free: 9.902 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3817, allocations: 0 / 0.6008 GB, free: 9.902 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005077/0.3822, allocations: 172 kB / 0.601 GB, free: 9.734 MB / 446.1 MB 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.0004062/0.3826, allocations: 220.7 kB / 0.6012 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.3837, allocations: 0.7599 MB / 0.6019 GB, free: 8.758 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3837, allocations: 0 / 0.6019 GB, free: 8.758 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.3842, allocations: 451.8 kB / 0.6024 GB, free: 8.316 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.3846, allocations: 16.81 kB / 0.6024 GB, free: 8.301 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.3879, allocations: 0.8296 MB / 0.6032 GB, free: 7.438 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.388, allocations: 0.7142 MB / 0.6039 GB, free: 6.699 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004997/0.3885, allocations: 95.41 kB / 0.604 GB, free: 6.605 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3885, allocations: 0 / 0.604 GB, free: 6.605 MB / 446.1 MB Notification: Performance of Templates: time 0.008081/0.3966, allocations: 6.846 MB / 0.6107 GB, free: 15.83 MB / 462.1 MB 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)