Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestXPath.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.0007779/0.0007779, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001876, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.0007717/0.0007717, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001878, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.003/1.003, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08118/1.084, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.009177/0.009177, allocations: 2.251 MB / 246.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002264/0.01144, allocations: 1.425 MB / 247.8 MB, free: 11.07 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/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(ExternData.Examples.XMLTestXPath,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestXPath") translateModel(ExternData.Examples.XMLTestXPath,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestXPath") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 249.1 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.656e-05, allocations: 6.312 kB / 249.1 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002137/0.002154, allocations: 1.788 MB / 250.9 MB, free: 7.973 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.003872, allocations: 1.789 MB / 252.7 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.003931, allocations: 4 kB / 252.7 MB, free: 6.168 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:269:3-299:15:writable] Warning: Pure function 'ExternData.XML2File' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.004161, allocations: 55.64 kB / 252.8 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.004375, allocations: 126.1 kB / 252.9 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.004509, allocations: 79.7 kB / 253 MB, free: 5.914 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.004629, allocations: 87.72 kB / 253 MB, free: 5.828 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.985e-05/0.004699, allocations: 12.2 kB / 253.1 MB, free: 5.816 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.004802, allocations: 71.78 kB / 253.1 MB, free: 5.746 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.004926, allocations: 39.89 kB / 253.2 MB, free: 5.707 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.004941, allocations: 4 kB / 253.2 MB, free: 5.703 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.005172, allocations: 207.6 kB / 253.4 MB, free: 5.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.00522, allocations: 15.94 kB / 253.4 MB, free: 5.484 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.005255, allocations: 19.94 kB / 253.4 MB, free: 5.465 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.005496, allocations: 215.4 kB / 253.6 MB, free: 5.254 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/0.00551, allocations: 0 / 253.6 MB, free: 5.254 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.005511, allocations: 0 / 253.6 MB, free: 5.254 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.005521, allocations: 0 / 253.6 MB, free: 5.254 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004726/0.005993, allocations: 389.4 kB / 254 MB, free: 4.844 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.006022, allocations: 8.031 kB / 254 MB, free: 4.836 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.00606, allocations: 8.938 kB / 254 MB, free: 4.828 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.006194, allocations: 133.7 kB / 254.1 MB, free: 4.672 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.006203, allocations: 4.375 kB / 254.2 MB, free: 4.668 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.006215, allocations: 12.3 kB / 254.2 MB, free: 4.656 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.006347, allocations: 121.2 kB / 254.3 MB, free: 4.516 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.006354, allocations: 3.938 kB / 254.3 MB, free: 4.512 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.006362, allocations: 4 kB / 254.3 MB, free: 4.508 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.006367, allocations: 3.938 kB / 254.3 MB, free: 4.504 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.369e-05/0.006411, allocations: 48.52 kB / 254.3 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.006612, allocations: 184 kB / 254.5 MB, free: 4.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.006744, allocations: 94.92 kB / 254.6 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.006783, allocations: 59.36 kB / 254.7 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.006796, allocations: 0 / 254.7 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.006927, allocations: 159.4 kB / 254.8 MB, free: 3.875 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.006929, allocations: 3.984 kB / 254.8 MB, free: 3.871 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.000183/0.007112, allocations: 193.5 kB / 255 MB, free: 3.656 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.00718, allocations: 191.9 kB / 255.2 MB, free: 3.426 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.252e-05/0.007253, allocations: 138.3 kB / 255.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.007265, allocations: 25.7 kB / 255.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.396e-05/0.007289, allocations: 92.12 kB / 255.5 MB, free: 3.156 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.007318, allocations: 31.72 kB / 255.5 MB, free: 3.125 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.007349, allocations: 21.72 kB / 255.5 MB, free: 3.098 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.007426, allocations: 326.8 kB / 255.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/0.007464, allocations: 52.52 kB / 255.9 MB, free: 2.711 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.007501, allocations: 63.28 kB / 255.9 MB, free: 2.637 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.231e-05/0.007574, allocations: 119.8 kB / 256.1 MB, free: 2.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007576, allocations: 0 / 256.1 MB, free: 2.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001076/0.007683, allocations: 147.8 kB / 256.2 MB, free: 2.336 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.007716, allocations: 37.69 kB / 256.2 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.00772, allocations: 4 kB / 256.2 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.007728, allocations: 0 / 256.2 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.924e-05/0.007777, allocations: 12 kB / 256.3 MB, free: 2.277 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.00778, allocations: 0 / 256.3 MB, free: 2.277 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.007819, allocations: 27.75 kB / 256.3 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.007827, allocations: 4 kB / 256.3 MB, free: 2.246 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.064e-05/0.007898, allocations: 150.4 kB / 256.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.007914, allocations: 11.94 kB / 256.4 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.007948, allocations: 16.42 kB / 256.5 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.007952, allocations: 4 kB / 256.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.007953, allocations: 4 kB / 256.5 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.007958, allocations: 4 kB / 256.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.271e-05/0.008031, allocations: 81.88 kB / 256.6 MB, free: 1.945 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.008032, allocations: 0 / 256.6 MB, free: 1.945 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.00806, allocations: 15.98 kB / 256.6 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.008072, allocations: 7.953 kB / 256.6 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.008074, allocations: 3.938 kB / 256.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.00808, allocations: 4 kB / 256.6 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008081, allocations: 0 / 256.6 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.008084, allocations: 3.938 kB / 256.6 MB, free: 1.91 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.008216, allocations: 195 kB / 256.8 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.008234, allocations: 11.94 kB / 256.8 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.62e-05/0.008261, allocations: 7.984 kB / 256.8 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.008283, allocations: 4 kB / 256.8 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.008296, allocations: 7.984 kB / 256.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.366e-05/0.00832, allocations: 20.84 kB / 256.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00832, allocations: 4 kB / 256.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001916/0.008512, allocations: 83.67 kB / 256.9 MB, free: 1.543 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.001471/0.009982, allocations: 0.6668 MB / 257.6 MB, free: 1.121 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.01017, allocations: 182.7 kB / 257.8 MB, free: 0.918 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.01018, allocations: 0 / 257.8 MB, free: 0.918 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.778e-05/0.01027, allocations: 137.9 kB / 257.9 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.01041, allocations: 79.39 kB / 258 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.01084, allocations: 256.6 kB / 258.2 MB, free: 388 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.291e-05/0.01088, allocations: 68.16 kB / 258.3 MB, free: 300 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.254e-05/0.01091, allocations: 19.92 kB / 258.3 MB, free: 280 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.2e-05/0.01099, allocations: 75.36 kB / 258.4 MB, free: 204 kB / 250.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01099, allocations: 0 / 258.4 MB, free: 204 kB / 250.7 MB Notification: Performance of Templates: time 0.005115/0.01611, allocations: 2.911 MB / 261.3 MB, free: 13.31 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTestXPath.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XMLTestXPath.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestXPath.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestXPath.pipe >> ../files/ExternData_ExternData.Examples.XMLTestXPath.sim & (cd run_cvode && ../ExternData_ExternData.Examples.XMLTestXPath -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ExternData_ExternData.Examples.XMLTestXPath.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.XMLTestXPath_dassl.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestXPath_dassl.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestXPath_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.XMLTestXPath_dassl.sim & (cd run_dassl && ../ExternData_ExternData.Examples.XMLTestXPath -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > ExternData_ExternData.Examples.XMLTestXPath_dassl.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.XMLTestXPath_gbode.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestXPath_gbode.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestXPath_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.XMLTestXPath_gbode.sim & (cd run_gbode && ../ExternData_ExternData.Examples.XMLTestXPath -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ExternData_ExternData.Examples.XMLTestXPath_gbode.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.XMLTestXPath_ida.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestXPath_ida.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestXPath_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.XMLTestXPath_ida.sim & (cd run_ida && ../ExternData_ExternData.Examples.XMLTestXPath -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ExternData_ExternData.Examples.XMLTestXPath_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5810603238642216]