Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.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.001402/0.001402, allocations: 82.61 kB / 19.87 MB, free: 4.613 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.001003/0.001003, allocations: 173.1 kB / 23.28 MB, free: 1.215 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.9916/0.9916, allocations: 177.1 MB / 203.7 MB, free: 5.477 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.7943/0.7943, allocations: 154.9 MB / 415.1 MB, free: 268 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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.544e-05, allocations: 6.312 kB / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.001677/0.001693, allocations: 1.543 MB / 0.5226 GB, free: 8 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008667/0.002559, allocations: 0.7047 MB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.002612, allocations: 4.969 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.00264, allocations: 7.922 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.212e-05/0.002682, allocations: 9.688 kB / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.002979, allocations: 99.58 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.003059, allocations: 35.86 kB / 0.5235 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.412e-05/0.003133, allocations: 15.98 kB / 0.5235 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.304e-05/0.003226, allocations: 29 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.653e-05/0.003262, allocations: 11.98 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.003273, allocations: 0 / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.003419, allocations: 116.5 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.003432, allocations: 11.97 kB / 0.5237 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.558e-05/0.003448, allocations: 17.06 kB / 0.5237 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.003592, allocations: 99.75 kB / 0.5238 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.003593, allocations: 0 / 0.5238 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003594, allocations: 1.438 kB / 0.5238 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.003597, allocations: 0 / 0.5238 GB, free: 14.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002992/0.003896, allocations: 396.2 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.003924, allocations: 8.812 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.309e-05/0.004017, allocations: 20.88 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.004124, allocations: 117.4 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.004141, allocations: 8.312 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/0.004148, allocations: 7.188 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.627e-05/0.004224, allocations: 54.94 kB / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.004231, allocations: 192 / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.004239, allocations: 4.375 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.004245, allocations: 3.938 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.004264, allocations: 11.98 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.004498, allocations: 252.2 kB / 0.5246 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.414e-05/0.004543, allocations: 31.56 kB / 0.5246 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.299e-05/0.004556, allocations: 8.344 kB / 0.5246 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.004702, allocations: 41.88 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.004724, allocations: 41.45 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.004725, allocations: 4 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001077/0.004833, allocations: 38.48 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.004856, allocations: 52.62 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.256e-05/0.004919, allocations: 173.9 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.004927, allocations: 29.7 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.004969, allocations: 135.3 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.004983, allocations: 7.953 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.005006, allocations: 20.41 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.005107, allocations: 0.4923 MB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-06/0.005114, allocations: 0 / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-06/0.005121, allocations: 1.125 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.122e-05/0.005143, allocations: 16.31 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.005144, allocations: 0 / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.24e-05/0.005186, allocations: 46.94 kB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.005196, allocations: 4 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.0052, allocations: 0 / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.723e-06/0.005207, allocations: 0.5625 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.686e-05/0.005243, allocations: 4 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.005246, allocations: 8.594 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.326e-05/0.00526, allocations: 1.25 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005265, allocations: 3.984 kB / 0.5257 GB, free: 12.66 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 (2): * Single equations (assignments): 2 * 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 5.286e-05/0.005318, allocations: 164.6 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.005333, allocations: 10.45 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.793e-05/0.005401, allocations: 49.25 kB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005403, allocations: 0 / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.005405, allocations: 4 kB / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.005407, allocations: 0 / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.228e-05/0.005489, allocations: 101.2 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.00549, allocations: 0.75 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.005505, allocations: 4 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.005506, allocations: 1.281 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.005513, allocations: 7.938 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.005513, allocations: 0 / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.005514, allocations: 0 / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.969e-05/0.005584, allocations: 184.7 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-06/0.005589, allocations: 8.891 kB / 0.5262 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.005598, allocations: 7.938 kB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.885e-05/0.005627, allocations: 7.984 kB / 0.5263 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.005647, allocations: 2.75 kB / 0.5263 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.00565, allocations: 4 kB / 0.5263 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.451e-05/0.005685, allocations: 131.5 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005685, allocations: 0 / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000152/0.005837, allocations: 11.94 kB / 0.5264 GB, free: 11.92 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 (2): * Single equations (assignments): 2 * 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.0001047/0.005941, allocations: 115.2 kB / 0.5265 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.061e-05/0.006002, allocations: 18.34 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.006003, allocations: 4 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/0.006017, allocations: 11.62 kB / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.006155, allocations: 4 kB / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.006467, allocations: 147.9 kB / 0.5267 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.736e-05/0.006495, allocations: 55.34 kB / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.595e-05/0.006511, allocations: 7.938 kB / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.006543, allocations: 67.05 kB / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.006543, allocations: 0 / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.001842/0.008385, allocations: 0.6109 MB / 0.5274 GB, free: 10.86 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7517041391693056]