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.001484/0.001484, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001712/0.001712, allocations: 213.7 kB / 23.01 MB, free: 4.566 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.01735/0.01735, allocations: 3.261 MB / 316.5 MB, free: 15.82 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.002039/0.002039, allocations: 75.03 kB / 440.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.123, allocations: 54.37 MB / 495.2 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.003613/0.1266, allocations: 1.698 MB / 496.9 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.1295, allocations: 1.749 MB / 498.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-05/0.1296, allocations: 7.938 kB / 498.7 MB, free: 1.805 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.000485/0.1301, allocations: 43.77 kB / 498.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004253/0.1305, allocations: 119.5 kB / 498.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1307, allocations: 95.34 kB / 498.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.1309, allocations: 87.75 kB / 499 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.131, allocations: 12.23 kB / 499 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.916e-05/0.1311, allocations: 35.86 kB / 499 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.1313, allocations: 43.77 kB / 499.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1313, allocations: 8 kB / 499.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.1316, allocations: 207.8 kB / 499.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.1317, allocations: 15.92 kB / 499.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.583e-05/0.1317, allocations: 43.78 kB / 499.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.1321, allocations: 231.2 kB / 499.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1321, allocations: 3.938 kB / 499.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1321, allocations: 0 / 499.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1321, allocations: 4 kB / 499.6 MB, free: 0.8711 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.0006863/0.1328, allocations: 383.2 kB / 500 MB, free: 472 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1329, allocations: 8.031 kB / 500 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.1329, allocations: 12.83 kB / 500 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.1332, allocations: 142.3 kB / 0.4884 GB, free: 284 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.1332, allocations: 8.312 kB / 0.4884 GB, free: 276 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1333, allocations: 12.12 kB / 0.4884 GB, free: 264 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.1335, allocations: 91.38 kB / 0.4885 GB, free: 160 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1335, allocations: 0 / 0.4885 GB, free: 160 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1335, allocations: 4 kB / 0.4885 GB, free: 156 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1335, allocations: 0 / 0.4885 GB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.1337, allocations: 59.89 kB / 0.4886 GB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.1341, allocations: 272.9 kB / 0.4888 GB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.1344, allocations: 89.22 kB / 0.4889 GB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.1346, allocations: 45.75 kB / 0.4889 GB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.1346, allocations: 0 / 0.4889 GB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.1348, allocations: 138.8 kB / 0.4891 GB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.935e-06/0.1348, allocations: 3.984 kB / 0.4891 GB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004866/0.1353, allocations: 231.3 kB / 0.4893 GB, free: 15.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/0.1354, allocations: 110.8 kB / 0.4894 GB, free: 15.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1355, allocations: 137.8 kB / 0.4895 GB, free: 14.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1355, allocations: 25.7 kB / 0.4896 GB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.1356, allocations: 104.1 kB / 0.4897 GB, free: 14.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.1356, allocations: 23.81 kB / 0.4897 GB, free: 14.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.1357, allocations: 37.58 kB / 0.4897 GB, free: 14.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1358, allocations: 322.8 kB / 0.49 GB, free: 14.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1359, allocations: 35.98 kB / 0.4901 GB, free: 14.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.241e-05/0.136, allocations: 53.69 kB / 0.4901 GB, free: 14.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.1363, allocations: 149 kB / 0.4903 GB, free: 14.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1363, allocations: 0 / 0.4903 GB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003252/0.1366, allocations: 195.2 kB / 0.4904 GB, free: 13.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.1366, allocations: 33.7 kB / 0.4905 GB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1366, allocations: 0 / 0.4905 GB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1367, allocations: 0 / 0.4905 GB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/0.1367, allocations: 23.92 kB / 0.4905 GB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1367, allocations: 0 / 0.4905 GB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.973e-05/0.1368, allocations: 11.89 kB / 0.4905 GB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1368, allocations: 11.94 kB / 0.4905 GB, free: 13.87 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.0001568/0.137, allocations: 154.5 kB / 0.4907 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.137, allocations: 19.95 kB / 0.4907 GB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.137, allocations: 8.359 kB / 0.4907 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.137, allocations: 4 kB / 0.4907 GB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.137, allocations: 0 / 0.4907 GB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1371, allocations: 0 / 0.4907 GB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.1373, allocations: 176.6 kB / 0.4909 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1373, allocations: 0 / 0.4909 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.1373, allocations: 15.98 kB / 0.4909 GB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1373, allocations: 0 / 0.4909 GB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1373, allocations: 8 kB / 0.4909 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1373, allocations: 0 / 0.4909 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1373, allocations: 3.938 kB / 0.4909 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.1378, allocations: 247.5 kB / 0.4911 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.1378, allocations: 15.94 kB / 0.4911 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.1378, allocations: 8 kB / 0.4912 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.661e-05/0.1379, allocations: 4 kB / 0.4912 GB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1379, allocations: 3.984 kB / 0.4912 GB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.138, allocations: 7.938 kB / 0.4912 GB, free: 13.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.522e-05/0.138, allocations: 111.2 kB / 0.4913 GB, free: 13.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.138, allocations: 0 / 0.4913 GB, free: 13.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.1384, allocations: 79.75 kB / 0.4914 GB, free: 12.93 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.001374/0.1398, allocations: 427.9 kB / 0.4918 GB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.1401, allocations: 155.3 kB / 0.4919 GB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1401, allocations: 0 / 0.4919 GB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.1403, allocations: 111.3 kB / 0.492 GB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.1405, allocations: 15.92 kB / 0.492 GB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.141, allocations: 244.6 kB / 0.4923 GB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1414, allocations: 0.6924 MB / 0.4929 GB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.1414, allocations: 15.44 kB / 0.493 GB, free: 11.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1414, allocations: 0 / 0.493 GB, free: 11.3 MB / 366.1 MB Notification: Performance of Templates: time 0.00537/0.1468, allocations: 2.592 MB / 0.4955 GB, free: 8.715 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: 7.826520527945831] Failed to read output from testmodel.py, exit status != 0: 0.15542421489953995 0.39811259699999996 0.262521807 Calling exit ...