Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTest.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.001432/0.001432, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.0016/0.0016, allocations: 215.5 kB / 22.25 MB, free: 5.262 MB / 14.72 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.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.01641/0.01641, allocations: 3.266 MB / 315.7 MB, free: 15.62 MB / 254.1 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.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") translateModel(ExternData.Examples.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") [Timeout 660] "Notification: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 67.91 kB / 440 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1191, allocations: 54.38 MB / 494.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.003313/0.1225, allocations: 1.674 MB / 496 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003165/0.1256, allocations: 1.695 MB / 497.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1257, allocations: 3.938 kB / 497.7 MB, free: 1.578 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:238:3-267:14:writable] Warning: Pure function 'ExternData.XMLFile' contains a call to impure function 'ExternData.Types.ExternXMLFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.1262, allocations: 35.8 kB / 497.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005491/0.1267, allocations: 134.5 kB / 497.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.1271, allocations: 79.8 kB / 498 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.1272, allocations: 87.77 kB / 498.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1274, allocations: 12.2 kB / 498.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.1275, allocations: 35.86 kB / 498.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.1277, allocations: 35.84 kB / 498.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.1277, allocations: 8 kB / 498.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004103/0.1281, allocations: 183.8 kB / 498.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.797e-05/0.1282, allocations: 27.86 kB / 498.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.786e-05/0.1282, allocations: 31.8 kB / 498.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005042/0.1288, allocations: 227.3 kB / 498.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1288, allocations: 0 / 498.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1288, allocations: 3.938 kB / 498.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1288, allocations: 4 kB / 498.6 MB, free: 0.6875 MB / 350.1 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.0007638/0.1295, allocations: 383.2 kB / 499 MB, free: 284 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1296, allocations: 11.97 kB / 499 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.1296, allocations: 8.891 kB / 499 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.13, allocations: 146.3 kB / 499.2 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.13, allocations: 4.375 kB / 499.2 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.13, allocations: 12.12 kB / 499.2 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.1303, allocations: 121.1 kB / 499.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1303, allocations: 0 / 499.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1303, allocations: 0 / 499.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.1303, allocations: 7.984 kB / 499.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.1305, allocations: 85.61 kB / 499.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.1309, allocations: 233.4 kB / 499.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.1312, allocations: 127 kB / 499.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.1314, allocations: 75.53 kB / 499.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1314, allocations: 3.984 kB / 499.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.1316, allocations: 176.4 kB / 500 MB, free: 15.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.804e-06/0.1316, allocations: 0 / 500 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005753/0.1322, allocations: 290.6 kB / 0.4886 GB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.1323, allocations: 110.8 kB / 0.4887 GB, free: 14.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.1325, allocations: 141.8 kB / 0.4888 GB, free: 14.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.1325, allocations: 29.7 kB / 0.4888 GB, free: 14.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.1326, allocations: 92.08 kB / 0.4889 GB, free: 14.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.1326, allocations: 27.8 kB / 0.4889 GB, free: 14.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.1327, allocations: 25.72 kB / 0.489 GB, free: 14.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1328, allocations: 322.8 kB / 0.4893 GB, free: 14.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.1329, allocations: 73.61 kB / 0.4893 GB, free: 13.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.133, allocations: 91.38 kB / 0.4894 GB, free: 13.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.1333, allocations: 156.9 kB / 0.4896 GB, free: 13.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1333, allocations: 4 kB / 0.4896 GB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003504/0.1336, allocations: 229.2 kB / 0.4898 GB, free: 13.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.239e-05/0.1337, allocations: 41.69 kB / 0.4898 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1337, allocations: 0 / 0.4898 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.1337, allocations: 0 / 0.4898 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.1338, allocations: 16 kB / 0.4899 GB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1338, allocations: 0 / 0.4899 GB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.27e-05/0.1339, allocations: 15.88 kB / 0.4899 GB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.1339, allocations: 4 kB / 0.4899 GB, free: 13.36 MB / 366.1 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 0.0002058/0.1341, allocations: 167.5 kB / 0.49 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.1341, allocations: 11.95 kB / 0.49 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.1342, allocations: 12.38 kB / 0.4901 GB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1342, allocations: 0 / 0.4901 GB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1342, allocations: 0 / 0.4901 GB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1342, allocations: 3.938 kB / 0.4901 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.1344, allocations: 133.2 kB / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1344, allocations: 4 kB / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.1344, allocations: 8 kB / 0.4902 GB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1344, allocations: 0 / 0.4902 GB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.1345, allocations: 8 kB / 0.4902 GB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1345, allocations: 4 kB / 0.4902 GB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1345, allocations: 0 / 0.4902 GB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.135, allocations: 281.2 kB / 0.4905 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.135, allocations: 11.94 kB / 0.4905 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.135, allocations: 8 kB / 0.4905 GB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/0.1351, allocations: 4 kB / 0.4905 GB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.1351, allocations: 11.92 kB / 0.4905 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.1352, allocations: 8 kB / 0.4905 GB, free: 12.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.1353, allocations: 110.3 kB / 0.4906 GB, free: 12.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1353, allocations: 0 / 0.4906 GB, free: 12.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003711/0.1356, allocations: 79.75 kB / 0.4907 GB, free: 12.43 MB / 366.1 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.001518/0.1371, allocations: 435.6 kB / 0.4911 GB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004413/0.1376, allocations: 234.6 kB / 0.4913 GB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1376, allocations: 0 / 0.4913 GB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.1378, allocations: 141.4 kB / 0.4915 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1381, allocations: 23.89 kB / 0.4915 GB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005794/0.1386, allocations: 276.5 kB / 0.4918 GB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.308e-05/0.1387, allocations: 83.23 kB / 0.4918 GB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.777e-05/0.1388, allocations: 11.94 kB / 0.4919 GB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.1388, allocations: 15.44 kB / 0.4919 GB, free: 11.24 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1388, allocations: 0 / 0.4919 GB, free: 11.24 MB / 366.1 MB Notification: Performance of Templates: time 0.007663/0.1465, allocations: 2.607 MB / 0.4944 GB, free: 8.645 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTest.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2314225267618895] Failed to read output from testmodel.py, exit status != 0: 0.15614158287644386 0.17569988 0.043101663000000005 Calling exit ...