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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007388/0.0007388, allocations: 84.23 kB / 20.06 MB, free: 4.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 173.9 kB / 23.35 MB, free: 1.164 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8281/0.8281, allocations: 177.1 MB / 203.7 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6548/0.6548, allocations: 154.6 MB / 414.7 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.054e-05, allocations: 2.312 kB / 0.6196 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001185/0.001205, allocations: 0.6334 MB / 0.6202 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.0027, allocations: 1.299 MB / 0.6215 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.002725, allocations: 0 / 0.6215 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.002743, allocations: 7.938 kB / 0.6215 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.956e-05/0.002762, allocations: 0 / 0.6215 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.003115, allocations: 87.59 kB / 0.6216 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.018e-05/0.003175, allocations: 23.97 kB / 0.6216 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.003223, allocations: 4 kB / 0.6216 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.62e-05/0.003259, allocations: 19.91 kB / 0.6216 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.003311, allocations: 7.984 kB / 0.6216 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.003326, allocations: 4 kB / 0.6216 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.003529, allocations: 111.8 kB / 0.6217 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of combineBinaries: time 4.651e-05/0.003576, allocations: 51.45 kB / 0.6218 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 9.758e-06/0.003585, allocations: 19.72 kB / 0.6218 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.259e-05/0.003598, allocations: 4 kB / 0.6218 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.157e-06/0.003607, allocations: 0 / 0.6218 GB, free: 10.76 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 (8) * Number of variables: 8 (8) Notification: Performance of [SIM] Bindings: time 0.0003298/0.003937, allocations: 300.6 kB / 0.6221 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001064/0.004043, allocations: 52.02 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 9.37e-05/0.004137, allocations: 140.2 kB / 0.6223 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 5.919e-05/0.004196, allocations: 48.36 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0003102/0.004506, allocations: 164.7 kB / 0.6225 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 3.236e-05/0.004539, allocations: 44.59 kB / 0.6225 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 2.664e-05/0.004565, allocations: 52.42 kB / 0.6226 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0001499/0.004715, allocations: 134.1 kB / 0.6227 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 1.808e-05/0.004733, allocations: 15.92 kB / 0.6227 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0001002/0.004834, allocations: 96.53 kB / 0.6228 GB, free: 9.34 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Math/Functions/BaseClasses/der_spliceFunction.mo:16:3-16:54:writable] Warning: Variable scaledXp of the generated function $fDER0.IDEAS.Utilities.Math.Functions.BaseClasses.der_spliceFunction will be initialized to 0.0 because it could not be proven that it is always assigned before it is used. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Math/Functions/BaseClasses/der_spliceFunction.mo:17:3-17:52:writable] Warning: Variable scaledXt of the generated function $fDER0.IDEAS.Utilities.Math.Functions.BaseClasses.der_spliceFunction will be initialized to 0.0 because it could not be proven that it is always assigned before it is used. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Math/Functions/BaseClasses/der_spliceFunction.mo:18:3-18:17:writable] Warning: Variable dscaledX1 of the generated function $fDER0.IDEAS.Utilities.Math.Functions.BaseClasses.der_spliceFunction will be initialized to 0.0 because it could not be proven that it is always assigned before it is used. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Math/Functions/BaseClasses/der_spliceFunction.mo:16:3-16:54:writable] Warning: Variable $fDER_scaledXp of the generated function $fDER0.IDEAS.Utilities.Math.Functions.BaseClasses.der_spliceFunction will be initialized to 0.0 because it could not be proven that it is always assigned before it is used. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Math/Functions/BaseClasses/der_spliceFunction.mo:17:3-17:52:writable] Warning: Variable $fDER_scaledXt of the generated function $fDER0.IDEAS.Utilities.Math.Functions.BaseClasses.der_spliceFunction will be initialized to 0.0 because it could not be proven that it is always assigned before it is used. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Math/Functions/BaseClasses/der_spliceFunction.mo:18:3-18:17:writable] Warning: Variable $fDER_dscaledX1 of the generated function $fDER0.IDEAS.Utilities.Math.Functions.BaseClasses.der_spliceFunction will be initialized to 0.0 because it could not be proven that it is always assigned before it is used. Notification: Performance of [SIM] Causalize: time 0.001924/0.006757, allocations: 2.46 MB / 0.6252 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002281/0.006986, allocations: 467.5 kB / 0.6256 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0001632/0.007149, allocations: 196.5 kB / 0.6258 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0003854/0.007534, allocations: 0.796 MB / 0.6266 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 2.106e-05/0.007555, allocations: 20.11 kB / 0.6266 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 9.202e-05/0.007647, allocations: 151.8 kB / 0.6268 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0003795/0.008027, allocations: 469.1 kB / 0.6272 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.558e-05/0.008042, allocations: 16 kB / 0.6272 GB, free: 4.602 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 7.31e-07/0.008043, allocations: 4 kB / 0.6272 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 0.0001557/0.008199, allocations: 163.6 kB / 0.6274 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 6.542e-06/0.008205, allocations: 7.938 kB / 0.6274 GB, free: 4.434 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 7.143e-06/0.008212, allocations: 20 kB / 0.6274 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 7.214e-06/0.00822, allocations: 4 kB / 0.6274 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 0.0007691/0.008989, allocations: 0.7329 MB / 0.6281 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 0.0001707/0.009159, allocations: 277.9 kB / 0.6284 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.61e-07/0.00916, allocations: 0 / 0.6284 GB, free: 3.375 MB / 0.5886 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {y_comp} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (0) {} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 18 (scalar:18, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.313e-05/0.009193, allocations: 24.94 kB / 0.6284 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of SimCode: time 0.001177/0.01037, allocations: 1.096 MB / 0.6295 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of Templates: time 0.004887/0.01526, allocations: 4.208 MB / 0.6336 GB, free: 14.03 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.o IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_functions.o IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_functions.c IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_functions.c:304:17: error: redefinition of '__omcQ_24fDER_5Fy' 304 | modelica_real __omcQ_24fDER_5Fy; | ^ IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_functions.c:303:17: note: previous definition is here 303 | modelica_real __omcQ_24fDER_5Fy; | ^ 1 error generated. make: *** [: IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 2.4914243426173925] Failed to read output from testmodel.py, exit status != 0: 0.020823009312152863 0.028803239 0.02353237 Calling exit ...