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.001274/0.001274, allocations: 107 kB / 16.36 MB, free: 6.285 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.001808/0.001809, allocations: 192.5 kB / 17.29 MB, free: 5.863 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 / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8218/0.8218, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 0.5068 GB, free: 7.633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.364, allocations: 80.91 MB / 0.5858 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001681/0.3657, allocations: 0.6039 MB / 0.5864 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.367, allocations: 1.268 MB / 0.5876 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.3671, allocations: 0 / 0.5876 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.3671, allocations: 10.97 kB / 0.5876 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.73e-05/0.3671, allocations: 0 / 0.5876 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.3675, allocations: 78.83 kB / 0.5877 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.375e-05/0.3675, allocations: 20.52 kB / 0.5877 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.3676, allocations: 10.3 kB / 0.5877 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.054e-05/0.3676, allocations: 13.44 kB / 0.5877 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.3677, allocations: 20.59 kB / 0.5877 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.3677, allocations: 2.594 kB / 0.5878 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.3679, allocations: 91.03 kB / 0.5878 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.3679, allocations: 5.234 kB / 0.5878 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.3679, allocations: 16.02 kB / 0.5879 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.3681, allocations: 63.2 kB / 0.5879 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3681, allocations: 0 / 0.5879 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3681, allocations: 1.531 kB / 0.5879 GB, free: 23.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.3681, allocations: 3.938 kB / 0.5879 GB, free: 23.82 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.0003388/0.3684, allocations: 352.5 kB / 0.5883 GB, free: 23.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.3685, allocations: 10.89 kB / 0.5883 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.3685, allocations: 2.5 kB / 0.5883 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.273e-05/0.3686, allocations: 164.7 kB / 0.5884 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3686, allocations: 2.562 kB / 0.5884 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.3686, allocations: 8.156 kB / 0.5884 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.3687, allocations: 54.73 kB / 0.5885 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3687, allocations: 1.062 kB / 0.5885 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3688, allocations: 0 / 0.5885 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3688, allocations: 1.125 kB / 0.5885 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.361e-05/0.3688, allocations: 29.95 kB / 0.5885 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.369, allocations: 177.9 kB / 0.5887 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.441e-05/0.3691, allocations: 57.45 kB / 0.5887 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.3691, allocations: 25.48 kB / 0.5888 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003187/0.3694, allocations: 0.558 MB / 0.5893 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.3695, allocations: 39.56 kB / 0.5894 GB, free: 22.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3695, allocations: 0.625 kB / 0.5894 GB, free: 22.21 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.01773/0.3872, allocations: 4.298 MB / 0.5936 GB, free: 18.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.3873, allocations: 58.94 kB / 0.5936 GB, free: 18.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.591e-05/0.3873, allocations: 93.8 kB / 0.5937 GB, free: 18.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.567e-05/0.3874, allocations: 33.7 kB / 0.5937 GB, free: 18.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.18e-05/0.3874, allocations: 80.14 kB / 0.5938 GB, free: 17.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.067e-05/0.3875, allocations: 55.16 kB / 0.5939 GB, free: 17.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.3877, allocations: 89.67 kB / 0.5939 GB, free: 17.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.936e-05/0.3877, allocations: 322.9 kB / 0.5943 GB, free: 17.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.3882, allocations: 311.9 kB / 0.5946 GB, free: 17.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.3886, allocations: 314.2 kB / 0.5948 GB, free: 16.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.3898, allocations: 0.7546 MB / 0.5956 GB, free: 16.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3898, allocations: 0 / 0.5956 GB, free: 16.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001273/0.3911, allocations: 0.7888 MB / 0.5964 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3911, allocations: 4 kB / 0.5964 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3911, allocations: 4 kB / 0.5964 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3912, allocations: 3.938 kB / 0.5964 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/0.3919, allocations: 95.94 kB / 0.5965 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3919, allocations: 4 kB / 0.5965 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.3924, allocations: 8 kB / 0.5965 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.3925, allocations: 27.98 kB / 0.5965 GB, free: 15.15 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.0001549/0.3927, allocations: 133.6 kB / 0.5966 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/0.3927, allocations: 7.938 kB / 0.5966 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.3953, allocations: 1.38 MB / 0.598 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3953, allocations: 4 kB / 0.598 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3953, allocations: 0 / 0.598 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3953, allocations: 3.984 kB / 0.598 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.3977, allocations: 1.803 MB / 0.5997 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3977, allocations: 0 / 0.5997 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/0.3985, allocations: 107.9 kB / 0.5999 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3985, allocations: 11.97 kB / 0.5999 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.32e-05/0.3985, allocations: 27.94 kB / 0.5999 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3986, allocations: 4 kB / 0.5999 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3986, allocations: 3.938 kB / 0.5999 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.4005, allocations: 1.454 MB / 0.6013 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.4005, allocations: 88.95 kB / 0.6014 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/0.4006, allocations: 11.88 kB / 0.6014 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.4011, allocations: 20.05 kB / 0.6014 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.4012, allocations: 43.97 kB / 0.6015 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-05/0.4013, allocations: 28 kB / 0.6015 GB, free: 9.914 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.602e-05/0.4013, allocations: 75.28 kB / 0.6016 GB, free: 9.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4013, allocations: 4 kB / 0.6016 GB, free: 9.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000509/0.4018, allocations: 176 kB / 0.6017 GB, free: 9.664 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.0004131/0.4023, allocations: 217.1 kB / 0.602 GB, free: 9.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.4033, allocations: 0.7338 MB / 0.6027 GB, free: 8.711 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4033, allocations: 0 / 0.6027 GB, free: 8.711 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.4038, allocations: 451.7 kB / 0.6031 GB, free: 8.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.4041, allocations: 16 kB / 0.6031 GB, free: 8.254 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.4071, allocations: 0.8083 MB / 0.6039 GB, free: 7.418 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.4072, allocations: 0.7182 MB / 0.6046 GB, free: 6.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009173/0.4082, allocations: 297.5 kB / 0.6049 GB, free: 6.383 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/0.4087, allocations: 95.41 kB / 0.605 GB, free: 6.289 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4087, allocations: 0 / 0.605 GB, free: 6.289 MB / 446.1 MB Notification: Performance of Templates: time 0.01381/0.4225, allocations: 11.17 MB / 0.6159 GB, free: 11.18 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)