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.001259/0.001259, allocations: 104 kB / 16.35 MB, free: 5.824 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.001289/0.001289, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8027/0.8027, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 63.91 kB / 0.5068 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3906, allocations: 80.91 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0017/0.3924, allocations: 0.6027 MB / 0.5864 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3938, allocations: 1.278 MB / 0.5876 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.3939, allocations: 0 / 0.5876 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.129e-05/0.3939, allocations: 0 / 0.5876 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.1e-05/0.394, allocations: 4.562 kB / 0.5876 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.3943, allocations: 73.61 kB / 0.5877 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.432e-05/0.3944, allocations: 18.77 kB / 0.5877 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.3944, allocations: 10.77 kB / 0.5877 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.059e-05/0.3944, allocations: 13.72 kB / 0.5877 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.3945, allocations: 13.64 kB / 0.5877 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.3945, allocations: 2.281 kB / 0.5877 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.3947, allocations: 94.02 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.3947, allocations: 5.688 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.3948, allocations: 20.94 kB / 0.5879 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.3949, allocations: 61.73 kB / 0.5879 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3949, allocations: 0 / 0.5879 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3949, allocations: 1.688 kB / 0.5879 GB, free: 23.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3949, allocations: 0 / 0.5879 GB, free: 23.91 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.0003569/0.3953, allocations: 349.7 kB / 0.5882 GB, free: 23.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3953, allocations: 10.14 kB / 0.5883 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.3954, allocations: 7.969 kB / 0.5883 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.415e-05/0.3954, allocations: 171.1 kB / 0.5884 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3955, allocations: 2.719 kB / 0.5884 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.3955, allocations: 2.812 kB / 0.5884 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3956, allocations: 62.38 kB / 0.5885 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3956, allocations: 3.281 kB / 0.5885 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.3956, allocations: 0 / 0.5885 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.3956, allocations: 1.094 kB / 0.5885 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.556e-05/0.3957, allocations: 21.92 kB / 0.5885 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.3959, allocations: 177.4 kB / 0.5887 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.396, allocations: 61.75 kB / 0.5887 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.396, allocations: 28.22 kB / 0.5888 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003625/0.3964, allocations: 0.5559 MB / 0.5893 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.3964, allocations: 35.66 kB / 0.5893 GB, free: 22.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 2.715e-06/0.3964, allocations: 0.875 kB / 0.5893 GB, free: 22.29 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.01823/0.4147, allocations: 4.304 MB / 0.5936 GB, free: 18.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.4147, allocations: 55.41 kB / 0.5936 GB, free: 18.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.57e-05/0.4148, allocations: 93.86 kB / 0.5937 GB, free: 18.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/0.4149, allocations: 33.7 kB / 0.5937 GB, free: 18.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.423e-05/0.4149, allocations: 84.12 kB / 0.5938 GB, free: 17.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.053e-05/0.415, allocations: 51.17 kB / 0.5939 GB, free: 17.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.4152, allocations: 89.67 kB / 0.5939 GB, free: 17.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.669e-05/0.4152, allocations: 326.8 kB / 0.5943 GB, free: 17.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/0.4157, allocations: 303.9 kB / 0.5945 GB, free: 17.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.4161, allocations: 315.9 kB / 0.5948 GB, free: 16.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.4173, allocations: 0.7569 MB / 0.5956 GB, free: 16.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4173, allocations: 0 / 0.5956 GB, free: 16.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001291/0.4186, allocations: 0.7864 MB / 0.5964 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4186, allocations: 8 kB / 0.5964 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4186, allocations: 0 / 0.5964 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.4187, allocations: 0 / 0.5964 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000783/0.4194, allocations: 95.88 kB / 0.5965 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4195, allocations: 0 / 0.5965 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/0.4199, allocations: 12 kB / 0.5965 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.328e-05/0.42, allocations: 35.97 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.0001716/0.4202, allocations: 129.7 kB / 0.5966 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.4203, allocations: 4 kB / 0.5966 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.4228, allocations: 1.388 MB / 0.598 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.4228, allocations: 4 kB / 0.598 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4228, allocations: 0 / 0.598 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4228, allocations: 3.984 kB / 0.598 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.4252, allocations: 1.803 MB / 0.5997 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.4252, allocations: 0 / 0.5997 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006902/0.4259, allocations: 115.8 kB / 0.5999 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.4259, allocations: 4 kB / 0.5999 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.108e-05/0.426, allocations: 27.94 kB / 0.5999 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.426, allocations: 12.02 kB / 0.5999 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.426, allocations: 0 / 0.5999 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.4279, allocations: 1.45 MB / 0.6013 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.428, allocations: 88.95 kB / 0.6014 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-05/0.4281, allocations: 19.92 kB / 0.6014 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/0.4285, allocations: 8 kB / 0.6014 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.4287, allocations: 48.03 kB / 0.6015 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-05/0.4288, allocations: 24 kB / 0.6015 GB, free: 9.918 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.731e-05/0.4288, allocations: 83.28 kB / 0.6016 GB, free: 9.836 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4288, allocations: 0 / 0.6016 GB, free: 9.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005277/0.4293, 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.000435/0.4298, allocations: 213 kB / 0.6019 GB, free: 9.449 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.4308, allocations: 0.7367 MB / 0.6027 GB, free: 8.715 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4308, allocations: 4.094 kB / 0.6027 GB, free: 8.711 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005461/0.4314, allocations: 455.7 kB / 0.6031 GB, free: 8.266 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.4317, allocations: 12 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.002904/0.4346, allocations: 0.8005 MB / 0.6039 GB, free: 7.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.4348, allocations: 0.7182 MB / 0.6046 GB, free: 6.684 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000912/0.4357, allocations: 289.5 kB / 0.6049 GB, free: 6.398 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/0.4362, allocations: 95.41 kB / 0.605 GB, free: 6.305 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4362, allocations: 7.938 kB / 0.605 GB, free: 6.297 MB / 446.1 MB Notification: Performance of Templates: time 0.01451/0.4507, allocations: 11.18 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)