Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001461/0.001461, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001759/0.001759, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8326/0.8326, allocations: 132.2 MB / 423.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.001201, allocations: 72.05 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3492, allocations: 80.18 MB / 0.5815 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001856/0.3511, allocations: 0.6166 MB / 0.5821 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.3523, allocations: 1.272 MB / 0.5833 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.324e-05/0.3523, allocations: 1 kB / 0.5833 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.3524, allocations: 1.094 kB / 0.5833 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.723e-05/0.3524, allocations: 5.062 kB / 0.5834 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.3527, allocations: 72.62 kB / 0.5834 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.459e-05/0.3528, allocations: 23.94 kB / 0.5834 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.3528, allocations: 6.188 kB / 0.5834 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.02e-05/0.3528, allocations: 13.5 kB / 0.5835 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.3529, allocations: 20.06 kB / 0.5835 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.3529, allocations: 6.031 kB / 0.5835 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.3531, allocations: 89.22 kB / 0.5836 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.3531, allocations: 10.06 kB / 0.5836 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.3532, allocations: 12.09 kB / 0.5836 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.3533, allocations: 61.05 kB / 0.5837 GB, free: 25.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3533, allocations: 0 / 0.5837 GB, free: 25.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3533, allocations: 5.5 kB / 0.5837 GB, free: 25.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.3533, allocations: 0 / 0.5837 GB, free: 25.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.0003533/0.3537, allocations: 352.5 kB / 0.584 GB, free: 25.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3537, allocations: 9.406 kB / 0.584 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.3538, allocations: 3.688 kB / 0.584 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.612e-05/0.3538, allocations: 169.2 kB / 0.5842 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3538, allocations: 1.719 kB / 0.5842 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.3539, allocations: 7.031 kB / 0.5842 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.354, allocations: 54.11 kB / 0.5842 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.354, allocations: 8.438 kB / 0.5842 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.354, allocations: 4 kB / 0.5842 GB, free: 25.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.354, allocations: 1.062 kB / 0.5842 GB, free: 25.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.884e-05/0.3541, allocations: 24.47 kB / 0.5843 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.3542, allocations: 169.7 kB / 0.5844 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.3543, allocations: 60.78 kB / 0.5845 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.3544, allocations: 25.84 kB / 0.5845 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003403/0.3547, allocations: 0.5536 MB / 0.585 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.3548, allocations: 41.94 kB / 0.5851 GB, free: 24.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.3548, allocations: 0 / 0.5851 GB, free: 24.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.01834/0.3731, allocations: 4.292 MB / 0.5893 GB, free: 21.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.3732, allocations: 54.06 kB / 0.5893 GB, free: 21.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.181e-05/0.3732, allocations: 97.84 kB / 0.5894 GB, free: 21.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.3733, allocations: 29.7 kB / 0.5895 GB, free: 21.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.808e-05/0.3733, allocations: 80.14 kB / 0.5895 GB, free: 21.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.641e-05/0.3734, allocations: 59.16 kB / 0.5896 GB, free: 21.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.3737, allocations: 89.05 kB / 0.5897 GB, free: 21.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.3737, allocations: 330.7 kB / 0.59 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.3741, allocations: 311.9 kB / 0.5903 GB, free: 20.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.3745, allocations: 303.9 kB / 0.5906 GB, free: 20.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.3757, allocations: 0.7568 MB / 0.5913 GB, free: 19.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3757, allocations: 0 / 0.5913 GB, free: 19.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001252/0.377, allocations: 0.7903 MB / 0.5921 GB, free: 18.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.377, allocations: 9.875 kB / 0.5921 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.377, allocations: 4 kB / 0.5921 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3771, allocations: 0 / 0.5921 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/0.3778, allocations: 99.88 kB / 0.5922 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3778, allocations: 4 kB / 0.5922 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.3783, allocations: 4 kB / 0.5922 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/0.3784, allocations: 39.97 kB / 0.5922 GB, free: 18.8 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.0001504/0.3785, allocations: 125.8 kB / 0.5924 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/0.3786, allocations: 11.91 kB / 0.5924 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.3811, allocations: 1.388 MB / 0.5937 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3811, allocations: 7.984 kB / 0.5937 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3811, allocations: 0 / 0.5937 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3811, allocations: 3.984 kB / 0.5937 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.3834, allocations: 1.791 MB / 0.5955 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3835, allocations: 0 / 0.5955 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/0.3842, allocations: 115.8 kB / 0.5956 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3842, allocations: 0 / 0.5956 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/0.3843, allocations: 31.94 kB / 0.5956 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3843, allocations: 4.922 kB / 0.5956 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3843, allocations: 0 / 0.5956 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.3862, allocations: 1.463 MB / 0.5971 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.3862, allocations: 92.89 kB / 0.5971 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-05/0.3863, allocations: 15.92 kB / 0.5972 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/0.3868, allocations: 8 kB / 0.5972 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.3869, allocations: 43.97 kB / 0.5972 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/0.387, allocations: 32 kB / 0.5972 GB, free: 13.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.79e-05/0.387, allocations: 79.34 kB / 0.5973 GB, free: 13.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.387, allocations: 0 / 0.5973 GB, free: 13.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005028/0.3875, allocations: 176 kB / 0.5975 GB, free: 13.3 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.0004037/0.3879, allocations: 211.1 kB / 0.5977 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.3889, allocations: 0.7223 MB / 0.5984 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3889, allocations: 0 / 0.5984 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005139/0.3895, allocations: 455.7 kB / 0.5988 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.3898, allocations: 16.16 kB / 0.5988 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.3926, allocations: 0.8054 MB / 0.5996 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.3928, allocations: 0.7181 MB / 0.6003 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008911/0.3937, allocations: 293.5 kB / 0.6006 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/0.3942, allocations: 91.41 kB / 0.6007 GB, free: 9.953 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3942, allocations: 0 / 0.6007 GB, free: 9.953 MB / 446.1 MB Notification: Performance of Templates: time 0.01271/0.4069, allocations: 11.18 MB / 0.6116 GB, free: 14.84 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)