Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTest.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.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") translateModel(ExternData.Examples.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008361/0.0008363, allocations: 182.4 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.01103/0.01103, allocations: 2.982 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.252/1.252, allocations: 225.7 MB / 246.5 MB, free: 4.637 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.000829/0.0008292, allocations: 99.94 kB / 298.7 MB, free: 6.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 8 kB / 360.7 MB, free: 7.984 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2118, allocations: 51.35 MB / 412.1 MB, free: 26.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.001415/0.2133, allocations: 1.37 MB / 413.4 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.215, allocations: 2.011 MB / 415.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.215, allocations: 4 kB / 415.4 MB, free: 23.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.2153, allocations: 28.67 kB / 415.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.2155, allocations: 100.8 kB / 415.6 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.2157, allocations: 67.88 kB / 415.6 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.888e-05/0.2158, allocations: 80.64 kB / 415.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.609e-05/0.2159, allocations: 12.14 kB / 415.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.2159, allocations: 35.84 kB / 415.8 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.2161, allocations: 35.84 kB / 415.8 MB, free: 23.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.2161, allocations: 0 / 415.8 MB, free: 23.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.2163, allocations: 187.7 kB / 416 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.2164, allocations: 19.92 kB / 416 MB, free: 22.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.2164, allocations: 57.5 kB / 416.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.2167, allocations: 213.6 kB / 416.3 MB, free: 22.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2167, allocations: 0 / 416.3 MB, free: 22.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.2167, allocations: 4 kB / 416.3 MB, free: 22.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.2167, allocations: 3.938 kB / 416.3 MB, free: 22.59 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.0004084/0.2171, allocations: 448.9 kB / 416.7 MB, free: 22.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.2172, allocations: 8.031 kB / 416.7 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.2172, allocations: 8.844 kB / 416.7 MB, free: 22.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.2174, allocations: 200 kB / 416.9 MB, free: 21.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.2174, allocations: 4.375 kB / 416.9 MB, free: 21.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.2174, allocations: 8.125 kB / 416.9 MB, free: 21.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.2176, allocations: 95.38 kB / 417 MB, free: 21.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.2176, allocations: 7.938 kB / 417 MB, free: 21.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2176, allocations: 0 / 417 MB, free: 21.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2176, allocations: 3.984 kB / 417 MB, free: 21.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.2177, allocations: 63.91 kB / 417.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.218, allocations: 301.7 kB / 417.4 MB, free: 21.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.2182, allocations: 97.12 kB / 417.5 MB, free: 21.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.58e-05/0.2183, allocations: 69.83 kB / 417.6 MB, free: 21.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.2184, allocations: 0 / 417.6 MB, free: 21.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.2185, allocations: 138.9 kB / 417.7 MB, free: 20.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.2186, allocations: 0 / 417.7 MB, free: 20.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003732/0.2189, allocations: 243.1 kB / 417.9 MB, free: 20.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.219, allocations: 110.8 kB / 418 MB, free: 20.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.802e-05/0.2191, allocations: 133.8 kB / 418.2 MB, free: 20.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.2191, allocations: 25.7 kB / 418.2 MB, free: 20.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.2191, allocations: 92.14 kB / 418.3 MB, free: 20.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.2191, allocations: 31.55 kB / 418.3 MB, free: 20.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.2192, allocations: 0 / 418.3 MB, free: 20.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.076e-05/0.2192, allocations: 330.8 kB / 418.6 MB, free: 19.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.787e-05/0.2193, allocations: 39.92 kB / 418.7 MB, free: 19.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.2194, allocations: 53.69 kB / 418.7 MB, free: 19.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.2195, allocations: 153 kB / 418.9 MB, free: 19.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2195, allocations: 0 / 418.9 MB, free: 19.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002292/0.2198, allocations: 191.2 kB / 419.1 MB, free: 19.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.2198, allocations: 38.62 kB / 419.1 MB, free: 19.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.2198, allocations: 0 / 419.1 MB, free: 19.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2198, allocations: 0 / 419.1 MB, free: 19.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.2199, allocations: 15.98 kB / 419.1 MB, free: 19.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2199, allocations: 0 / 419.1 MB, free: 19.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/0.22, allocations: 19.84 kB / 419.1 MB, free: 19.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.22, allocations: 7.938 kB / 419.1 MB, free: 19.4 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 7.932e-05/0.2201, allocations: 155.5 kB / 419.3 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.2201, allocations: 11.91 kB / 419.3 MB, free: 19.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.2201, allocations: 20.3 kB / 419.3 MB, free: 19.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2201, allocations: 0 / 419.3 MB, free: 19.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2201, allocations: 0 / 419.3 MB, free: 19.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2202, allocations: 0 / 419.3 MB, free: 19.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.689e-05/0.2203, allocations: 205.5 kB / 419.5 MB, free: 18.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2203, allocations: 4 kB / 419.5 MB, free: 18.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.2203, allocations: 8 kB / 419.5 MB, free: 18.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2203, allocations: 0 / 419.5 MB, free: 18.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2203, allocations: 4 kB / 419.5 MB, free: 18.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2204, allocations: 3.984 kB / 419.5 MB, free: 18.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2204, allocations: 4 kB / 419.6 MB, free: 18.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.2206, allocations: 255.8 kB / 419.8 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.2207, allocations: 88.95 kB / 419.9 MB, free: 18.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.2207, allocations: 7.984 kB / 419.9 MB, free: 18.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/0.2208, allocations: 12 kB / 419.9 MB, free: 18.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.2208, allocations: 11.97 kB / 419.9 MB, free: 18.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.2208, allocations: 7.938 kB / 419.9 MB, free: 18.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.786e-05/0.2209, allocations: 107.8 kB / 420 MB, free: 18.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2209, allocations: 4 kB / 420 MB, free: 18.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002516/0.2211, allocations: 79.89 kB / 420.1 MB, free: 18.31 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.0007833/0.2219, allocations: 0.4901 MB / 420.6 MB, free: 17.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.2222, allocations: 195.3 kB / 420.8 MB, free: 17.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2222, allocations: 0 / 420.8 MB, free: 17.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.2223, allocations: 135.4 kB / 420.9 MB, free: 17.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.2225, allocations: 12 kB / 420.9 MB, free: 17.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.2229, allocations: 275.8 kB / 421.2 MB, free: 17.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.223, allocations: 0.7004 MB / 421.9 MB, free: 16.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.404e-05/0.223, allocations: 8.297 kB / 421.9 MB, free: 16.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.2231, allocations: 15.44 kB / 421.9 MB, free: 16.53 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2231, allocations: 4 kB / 421.9 MB, free: 16.52 MB / 298.7 MB Notification: Performance of Templates: time 0.004109/0.2272, allocations: 2.418 MB / 424.4 MB, free: 14.11 MB / 298.7 MB make -j1 -f ExternData_ExternData.Examples.XMLTest.makefile (rm -f ExternData_ExternData.Examples.XMLTest.pipe ; mkfifo ExternData_ExternData.Examples.XMLTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTest.pipe >> ../files/ExternData_ExternData.Examples.XMLTest.sim & ./ExternData_ExternData.Examples.XMLTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTest.pipe 2>&1)