Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestXPath.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ExternData with version 3.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.XMLTestXPath,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestXPath") translateModel(ExternData.Examples.XMLTestXPath,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestXPath") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 177.2 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.02001/0.02001, allocations: 2.986 MB / 19.16 MB, free: 2.664 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 225.7 MB / 246.5 MB, free: 4.645 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007571/0.000757, allocations: 97.91 kB / 298.7 MB, free: 6.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 8 kB / 360.7 MB, free: 7.992 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2136, allocations: 51.34 MB / 412 MB, free: 26.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.001481/0.2152, allocations: 1.387 MB / 413.4 MB, free: 25.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.2168, allocations: 2.012 MB / 415.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.2169, allocations: 0 / 415.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.2172, allocations: 35.84 kB / 415.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.2174, allocations: 108.7 kB / 415.6 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.2176, allocations: 64.72 kB / 415.7 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.648e-05/0.2177, allocations: 83.77 kB / 415.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.904e-05/0.2178, allocations: 24.2 kB / 415.8 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/0.2178, allocations: 31.8 kB / 415.8 MB, free: 23.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.218, allocations: 40.77 kB / 415.8 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.218, allocations: 0 / 415.8 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.2182, allocations: 183.7 kB / 416 MB, free: 22.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.2183, allocations: 19.92 kB / 416 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.2184, allocations: 61.48 kB / 416.1 MB, free: 22.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.2186, allocations: 221.6 kB / 416.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.2186, allocations: 8 kB / 416.3 MB, free: 22.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.2186, allocations: 0 / 416.3 MB, free: 22.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.2186, allocations: 0 / 416.3 MB, free: 22.56 MB / 298.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.0003902/0.219, allocations: 444.9 kB / 416.7 MB, free: 22.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.2191, allocations: 8.031 kB / 416.8 MB, free: 22.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.2191, allocations: 12.84 kB / 416.8 MB, free: 22.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.2193, allocations: 196.1 kB / 417 MB, free: 21.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2193, allocations: 8.375 kB / 417 MB, free: 21.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.2193, allocations: 8.125 kB / 417 MB, free: 21.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.2195, allocations: 99.31 kB / 417.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2195, allocations: 0 / 417.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2195, allocations: 0 / 417.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2195, allocations: 0 / 417.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.2196, allocations: 63.95 kB / 417.1 MB, free: 21.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.2199, allocations: 309.7 kB / 417.4 MB, free: 21.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.2201, allocations: 97.33 kB / 417.5 MB, free: 21.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.385e-05/0.2202, allocations: 61.7 kB / 417.6 MB, free: 21.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.2203, allocations: 3.938 kB / 417.6 MB, free: 21.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.2204, allocations: 134.8 kB / 417.7 MB, free: 20.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.2205, allocations: 8 kB / 417.7 MB, free: 20.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003663/0.2208, allocations: 231.3 kB / 418 MB, free: 20.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.2209, allocations: 106.8 kB / 418.1 MB, free: 20.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.928e-05/0.221, allocations: 137.8 kB / 418.2 MB, free: 20.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.221, allocations: 29.7 kB / 418.2 MB, free: 20.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.2211, allocations: 96.06 kB / 418.3 MB, free: 20.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.2211, allocations: 35.7 kB / 418.4 MB, free: 20.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.2211, allocations: 4 kB / 418.4 MB, free: 20.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.2212, allocations: 322.8 kB / 418.7 MB, free: 19.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.358e-05/0.2213, allocations: 39.98 kB / 418.7 MB, free: 19.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.162e-05/0.2214, allocations: 57.61 kB / 418.8 MB, free: 19.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.2215, allocations: 157 kB / 418.9 MB, free: 19.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2215, allocations: 0 / 418.9 MB, free: 19.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000234/0.2218, allocations: 191.2 kB / 419.1 MB, free: 19.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.2218, allocations: 38.64 kB / 419.1 MB, free: 19.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2218, allocations: 336 / 419.1 MB, free: 19.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2218, allocations: 0 / 419.1 MB, free: 19.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.748e-05/0.2219, allocations: 15.98 kB / 419.2 MB, free: 19.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.2219, allocations: 4 kB / 419.2 MB, free: 19.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.222, allocations: 15.84 kB / 419.2 MB, free: 19.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.222, allocations: 7.938 kB / 419.2 MB, free: 19.36 MB / 298.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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 9.148e-05/0.2221, allocations: 163.5 kB / 419.3 MB, free: 19.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.2221, allocations: 7.906 kB / 419.4 MB, free: 19.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.2222, allocations: 16.36 kB / 419.4 MB, free: 19.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.2222, allocations: 0 / 419.4 MB, free: 19.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2222, allocations: 0 / 419.4 MB, free: 19.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2222, allocations: 8 kB / 419.4 MB, free: 19.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.2223, allocations: 197.5 kB / 419.6 MB, free: 18.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2223, allocations: 0 / 419.6 MB, free: 18.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.2224, allocations: 12 kB / 419.6 MB, free: 18.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2224, allocations: 0 / 419.6 MB, free: 18.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.2224, allocations: 7.984 kB / 419.6 MB, free: 18.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2224, allocations: 0 / 419.6 MB, free: 18.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2224, allocations: 0 / 419.6 MB, free: 18.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.2227, allocations: 255.4 kB / 419.8 MB, free: 18.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.2228, allocations: 93 kB / 419.9 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.2228, allocations: 4 kB / 419.9 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.2229, allocations: 4 kB / 419.9 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.2229, allocations: 7.984 kB / 419.9 MB, free: 18.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.2229, allocations: 11.94 kB / 420 MB, free: 18.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.049e-05/0.223, allocations: 111.2 kB / 420.1 MB, free: 18.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.223, allocations: 0 / 420.1 MB, free: 18.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002793/0.2233, allocations: 75.89 kB / 420.1 MB, free: 18.29 MB / 298.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.0009415/0.2242, allocations: 0.4981 MB / 420.6 MB, free: 17.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.2245, allocations: 195.3 kB / 420.8 MB, free: 17.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2245, allocations: 0 / 420.8 MB, free: 17.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.2247, allocations: 143.3 kB / 421 MB, free: 17.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.2249, allocations: 15.98 kB / 421 MB, free: 17.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.2253, allocations: 267.8 kB / 421.2 MB, free: 17.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.2255, allocations: 0.7034 MB / 422 MB, free: 16.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.617e-05/0.2256, allocations: 8 kB / 422 MB, free: 16.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.2256, allocations: 23.36 kB / 422 MB, free: 16.48 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2256, allocations: 0 / 422 MB, free: 16.48 MB / 298.7 MB Notification: Performance of Templates: time 0.004301/0.2299, allocations: 2.438 MB / 424.4 MB, free: 14.05 MB / 298.7 MB make -j1 -f ExternData_ExternData.Examples.XMLTestXPath.makefile (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 & ./ExternData_ExternData.Examples.XMLTestXPath -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestXPath.pipe 2>&1)