Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.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.001392/0.001392, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001557/0.001557, allocations: 169.7 kB / 23.28 MB, free: 1.219 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 1.072/1.072, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.8126/0.8126, allocations: 154.9 MB / 415.1 MB, free: 252 kB / 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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5212 GB, free: 1.43 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.352e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001487/0.001511, allocations: 0.5895 MB / 0.5218 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.003032, allocations: 1.309 MB / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.582e-05/0.003048, allocations: 3.938 kB / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.003063, allocations: 0 / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.971e-06/0.003069, allocations: 1.75 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.003422, allocations: 79.66 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 3.511e-05/0.003457, allocations: 0 / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.31e-05/0.00349, allocations: 4.75 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.003511, allocations: 0 / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.877e-05/0.00355, allocations: 1.375 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.003559, allocations: 0 / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.003822, allocations: 115.8 kB / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.003831, allocations: 0 / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.749e-06/0.003841, allocations: 1.25 kB / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.003979, allocations: 71.8 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003981, allocations: 0 / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003982, allocations: 6.125 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.003987, allocations: 0 / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002713/0.004258, allocations: 356.2 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.004294, allocations: 8.031 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.004318, allocations: 0.9375 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.428e-05/0.004382, allocations: 108.6 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.004393, allocations: 6.25 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.209e-06/0.004398, allocations: 384 / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.422e-05/0.004462, allocations: 30.27 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.004469, allocations: 192 / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-06/0.004475, allocations: 384 / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.004481, allocations: 4.5 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.898e-06/0.004491, allocations: 4.938 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.498e-05/0.004576, allocations: 89.27 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.46e-05/0.004611, allocations: 31.97 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.004624, allocations: 11.67 kB / 0.5239 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.004848, allocations: 45.98 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.00487, allocations: 33.39 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.004871, allocations: 0 / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001116/0.004982, allocations: 39.11 kB / 0.5241 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.005013, allocations: 55.41 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.008e-05/0.005063, allocations: 142.2 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.005074, allocations: 26.83 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.005111, allocations: 126.9 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.005139, allocations: 3.984 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.005169, allocations: 20.06 kB / 0.5244 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000447/0.005616, allocations: 496.1 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.005632, allocations: 5.219 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-06/0.00564, allocations: 0 / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.388e-05/0.005673, allocations: 12.66 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.005677, allocations: 4 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.42e-05/0.005741, allocations: 38.27 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.005755, allocations: 4 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.005762, allocations: 7.016 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.00577, allocations: 0 / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.371e-05/0.005814, allocations: 4 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.005816, allocations: 0 / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.331e-05/0.005829, allocations: 3.938 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.005834, allocations: 0 / 0.525 GB, free: 13.41 MB / 0.4948 GB 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 (1): * Single equations (assignments): 1 * 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 7.14e-05/0.005906, allocations: 156.6 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-06/0.005913, allocations: 7.031 kB / 0.5251 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.404e-05/0.006007, allocations: 37.03 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.006009, allocations: 0 / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.006011, allocations: 0 / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006014, allocations: 0 / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.29e-05/0.006086, allocations: 97.2 kB / 0.5252 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006088, allocations: 1.5 kB / 0.5252 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.676e-05/0.006104, allocations: 3.938 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.006109, allocations: 0 / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.006113, allocations: 0 / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006114, allocations: 0.5 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.006116, allocations: 4 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.213e-05/0.006188, allocations: 79.86 kB / 0.5253 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-06/0.006196, allocations: 7.984 kB / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.006204, allocations: 0 / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-06/0.00621, allocations: 0 / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.006221, allocations: 0 / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.006224, allocations: 0 / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.006259, allocations: 119.2 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006259, allocations: 0 / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001977/0.006457, allocations: 15.92 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001648/0.006622, allocations: 113.6 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.733e-05/0.006689, allocations: 19.61 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.006691, allocations: 0 / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.987e-06/0.0067, allocations: 11.69 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.006827, allocations: 9.344 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001869/0.007014, allocations: 83.98 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.108e-05/0.007045, allocations: 51.36 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.404e-05/0.007069, allocations: 6.125 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.00711, allocations: 74.19 kB / 0.5258 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/0.007111, allocations: 0 / 0.5258 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.002355/0.009466, allocations: 469.7 kB / 0.5263 GB, free: 11.97 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7153877541422844]