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.001314/0.001314, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001233/0.001233, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.329/1.329, 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 0.8481/0.8481, allocations: 135.2 MB / 426.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 71.88 kB / 0.5061 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3266, allocations: 80.91 MB / 0.5851 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00173/0.3284, allocations: 0.5979 MB / 0.5857 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3297, allocations: 1.277 MB / 0.5869 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.3297, allocations: 1.406 kB / 0.5869 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.3298, allocations: 1.562 kB / 0.5869 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.706e-05/0.3298, allocations: 0 / 0.5869 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.3301, allocations: 74.91 kB / 0.587 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.977e-05/0.3302, allocations: 20.64 kB / 0.587 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.3302, allocations: 7.438 kB / 0.587 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.112e-05/0.3303, allocations: 17.48 kB / 0.587 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.3303, allocations: 16.27 kB / 0.587 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.3304, allocations: 1.125 kB / 0.587 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.3305, allocations: 102.8 kB / 0.5871 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.3306, allocations: 5.266 kB / 0.5871 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.3306, allocations: 12.84 kB / 0.5872 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.3307, allocations: 65.62 kB / 0.5872 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3307, allocations: 1.25 kB / 0.5872 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3307, allocations: 0 / 0.5872 GB, free: 23.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3308, allocations: 0.7188 kB / 0.5872 GB, free: 23.67 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.0003644/0.3311, allocations: 348.2 kB / 0.5876 GB, free: 23.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3312, allocations: 12.55 kB / 0.5876 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.3312, allocations: 6.125 kB / 0.5876 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.722e-05/0.3313, allocations: 167.5 kB / 0.5877 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3313, allocations: 2.719 kB / 0.5877 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3313, allocations: 4.219 kB / 0.5877 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.3314, allocations: 58.12 kB / 0.5878 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3315, allocations: 1.062 kB / 0.5878 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3315, allocations: 1.375 kB / 0.5878 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3315, allocations: 1.469 kB / 0.5878 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.044e-05/0.3316, allocations: 26 kB / 0.5878 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.3317, allocations: 169.4 kB / 0.588 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.3318, allocations: 57.09 kB / 0.588 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.3319, allocations: 33.66 kB / 0.5881 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003313/0.3322, allocations: 0.5544 MB / 0.5886 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.3322, allocations: 37.03 kB / 0.5886 GB, free: 22.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3322, allocations: 0 / 0.5886 GB, free: 22.06 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.01885/0.3511, allocations: 4.305 MB / 0.5929 GB, free: 18.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.3512, allocations: 59.39 kB / 0.5929 GB, free: 18.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.814e-05/0.3512, allocations: 89.86 kB / 0.593 GB, free: 18.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/0.3513, allocations: 29.83 kB / 0.593 GB, free: 18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.502e-05/0.3513, allocations: 84.14 kB / 0.5931 GB, free: 17.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.878e-05/0.3514, allocations: 55.17 kB / 0.5932 GB, free: 17.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.3516, allocations: 89.67 kB / 0.5932 GB, free: 17.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.615e-05/0.3517, allocations: 322.8 kB / 0.5935 GB, free: 17.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.3521, allocations: 307.9 kB / 0.5938 GB, free: 17.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.3525, allocations: 315.9 kB / 0.5941 GB, free: 16.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.3538, allocations: 0.745 MB / 0.5949 GB, free: 16.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3538, allocations: 4 kB / 0.5949 GB, free: 16.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001272/0.3551, allocations: 0.8019 MB / 0.5957 GB, free: 15.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3551, allocations: 4 kB / 0.5957 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3551, allocations: 0 / 0.5957 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3551, allocations: 0 / 0.5957 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008247/0.356, allocations: 91.94 kB / 0.5957 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.356, allocations: 4 kB / 0.5958 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005303/0.3565, allocations: 8 kB / 0.5958 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/0.3566, allocations: 39.91 kB / 0.5958 GB, free: 15.13 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.0001685/0.3568, allocations: 129.7 kB / 0.5959 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.3569, allocations: 8 kB / 0.5959 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/0.3597, allocations: 1.38 MB / 0.5973 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3597, allocations: 4 kB / 0.5973 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3597, allocations: 3.938 kB / 0.5973 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.3598, allocations: 3.984 kB / 0.5973 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.3621, allocations: 1.806 MB / 0.5991 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3621, allocations: 7.938 kB / 0.5991 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007515/0.3628, allocations: 107.9 kB / 0.5992 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3629, allocations: 4 kB / 0.5992 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.098e-05/0.3629, allocations: 35.92 kB / 0.5992 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.3629, allocations: 0 / 0.5992 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3629, allocations: 0 / 0.5992 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.3649, allocations: 1.453 MB / 0.6006 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.3649, allocations: 96.98 kB / 0.6007 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.932e-05/0.365, allocations: 8 kB / 0.6007 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.3655, allocations: 19.94 kB / 0.6007 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3657, allocations: 39.97 kB / 0.6008 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.828e-05/0.3657, allocations: 31.98 kB / 0.6008 GB, free: 9.887 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.164e-05/0.3657, allocations: 79.28 kB / 0.6009 GB, free: 9.809 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3657, allocations: 0 / 0.6009 GB, free: 9.809 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005285/0.3663, allocations: 172 kB / 0.601 GB, free: 9.641 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.0004205/0.3667, allocations: 211.8 kB / 0.6012 GB, free: 9.426 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.3678, allocations: 0.7594 MB / 0.602 GB, free: 8.668 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3678, allocations: 3.938 kB / 0.602 GB, free: 8.664 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005173/0.3683, allocations: 451.8 kB / 0.6024 GB, free: 8.223 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.3687, allocations: 13.53 kB / 0.6024 GB, free: 8.211 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.3719, allocations: 0.8257 MB / 0.6032 GB, free: 7.352 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.372, allocations: 0.7142 MB / 0.6039 GB, free: 6.613 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/0.3725, allocations: 95.41 kB / 0.604 GB, free: 6.52 MB / 446.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3725, allocations: 0 / 0.604 GB, free: 6.52 MB / 446.1 MB Notification: Performance of Templates: time 0.008365/0.3809, allocations: 6.849 MB / 0.6107 GB, free: 15.75 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)