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.001004/0.001004, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.008018/0.008018, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7962/0.7962, allocations: 132.3 MB / 423.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003148, allocations: 11.98 kB / 0.504 GB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.444, allocations: 81.57 MB / 0.5837 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0009014/0.4449, allocations: 351.4 kB / 0.584 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.4466, allocations: 1.272 MB / 0.5853 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.4467, allocations: 0 / 0.5853 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.4467, allocations: 0 / 0.5853 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.012e-05/0.4467, allocations: 0 / 0.5853 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.4471, allocations: 59.72 kB / 0.5853 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.103e-05/0.4471, allocations: 22.69 kB / 0.5853 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.4472, allocations: 2.031 kB / 0.5853 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.399e-05/0.4472, allocations: 15.42 kB / 0.5854 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.4473, allocations: 11.84 kB / 0.5854 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.4473, allocations: 6.031 kB / 0.5854 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.4476, allocations: 93.61 kB / 0.5855 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.4476, allocations: 8.188 kB / 0.5855 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.4476, allocations: 38.14 kB / 0.5855 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.4478, allocations: 66.33 kB / 0.5856 GB, free: 2.711 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4478, allocations: 4 kB / 0.5856 GB, free: 2.707 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4478, allocations: 0 / 0.5856 GB, free: 2.707 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.4478, allocations: 1.156 kB / 0.5856 GB, free: 2.707 MB / 430.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.000398/0.4482, allocations: 344.6 kB / 0.5859 GB, free: 2.344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4483, allocations: 8.719 kB / 0.5859 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.4483, allocations: 3.453 kB / 0.5859 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.4484, allocations: 168.6 kB / 0.5861 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.4484, allocations: 1.906 kB / 0.5861 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.4485, allocations: 8 kB / 0.5861 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.4486, allocations: 56.42 kB / 0.5861 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4486, allocations: 0 / 0.5861 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4486, allocations: 1.281 kB / 0.5861 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.4487, allocations: 1.375 kB / 0.5861 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/0.4487, allocations: 25.75 kB / 0.5862 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.4489, allocations: 167.1 kB / 0.5863 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.4491, allocations: 64.2 kB / 0.5864 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.4491, allocations: 27.66 kB / 0.5864 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004163/0.4496, allocations: 0.5578 MB / 0.587 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.4496, allocations: 40.23 kB / 0.587 GB, free: 1.125 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.4496, allocations: 0 / 0.587 GB, free: 1.125 MB / 430.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.02131/0.4709, allocations: 4.208 MB / 0.5911 GB, free: 15.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.471, allocations: 53.83 kB / 0.5912 GB, free: 15.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.504e-05/0.4711, allocations: 91.78 kB / 0.5912 GB, free: 15.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.062e-05/0.4712, allocations: 31.08 kB / 0.5913 GB, free: 15.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.4712, allocations: 80.7 kB / 0.5913 GB, free: 15.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.4714, allocations: 63.3 kB / 0.5914 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.4715, allocations: 19.45 kB / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4716, allocations: 327 kB / 0.5917 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/0.4722, allocations: 307.2 kB / 0.592 GB, free: 14.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.4728, allocations: 312.7 kB / 0.5923 GB, free: 14.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.4746, allocations: 0.7539 MB / 0.5931 GB, free: 14.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4746, allocations: 1.156 kB / 0.5931 GB, free: 14.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001724/0.4763, allocations: 0.7879 MB / 0.5938 GB, free: 13.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.4764, allocations: 8 kB / 0.5938 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.4764, allocations: 1.062 kB / 0.5938 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.4764, allocations: 1.219 kB / 0.5938 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008778/0.4773, allocations: 100.5 kB / 0.5939 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.4773, allocations: 0 / 0.5939 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.4779, allocations: 12.14 kB / 0.594 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.139e-05/0.478, allocations: 31.97 kB / 0.594 GB, free: 13.76 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.0002072/0.4782, allocations: 118 kB / 0.5941 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.4783, allocations: 3.578 kB / 0.5941 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0037/0.482, allocations: 1.402 MB / 0.5955 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.482, allocations: 4.094 kB / 0.5955 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.482, allocations: 0 / 0.5955 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.482, allocations: 7.016 kB / 0.5955 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003104/0.4851, allocations: 1.793 MB / 0.5972 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4851, allocations: 0 / 0.5972 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008258/0.486, allocations: 110 kB / 0.5973 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.486, allocations: 2.562 kB / 0.5973 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-05/0.4861, allocations: 33.52 kB / 0.5974 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.4861, allocations: 2.922 kB / 0.5974 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4861, allocations: 1.031 kB / 0.5974 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.4887, allocations: 1.459 MB / 0.5988 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.4888, allocations: 94.98 kB / 0.5989 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-05/0.4889, allocations: 14.75 kB / 0.5989 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/0.4895, allocations: 14.45 kB / 0.5989 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.4896, allocations: 40 kB / 0.599 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.808e-05/0.4897, allocations: 35.3 kB / 0.599 GB, free: 11.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.265e-05/0.4898, allocations: 81.19 kB / 0.5991 GB, free: 10.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4898, allocations: 0 / 0.5991 GB, free: 10.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000652/0.4904, allocations: 170 kB / 0.5992 GB, free: 10.93 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.0005913/0.491, allocations: 219.2 kB / 0.5994 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.4924, allocations: 0.7231 MB / 0.6001 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4924, allocations: 0 / 0.6001 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000681/0.4931, allocations: 450.5 kB / 0.6006 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.4934, allocations: 17.39 kB / 0.6006 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.4972, allocations: 0.8548 MB / 0.6014 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.4975, allocations: 0.7156 MB / 0.6021 GB, free: 9.199 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001468/0.499, allocations: 296.9 kB / 0.6024 GB, free: 9.047 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005654/0.4996, allocations: 94.16 kB / 0.6025 GB, free: 9.035 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4996, allocations: 0 / 0.6025 GB, free: 9.035 MB / 446.1 MB Notification: Performance of Templates: time 0.02118/0.5207, allocations: 10.6 MB / 0.6129 GB, free: 1.996 MB / 446.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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)