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.00152/0.00152, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001638/0.001638, allocations: 216.1 kB / 22.99 MB, free: 4.945 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.01448/0.01448, allocations: 3.269 MB / 316.5 MB, free: 15.59 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.002084/0.002084, allocations: 79.88 kB / 440.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1133, allocations: 54.38 MB / 495.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.003294/0.1166, allocations: 1.659 MB / 496.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.1194, allocations: 1.691 MB / 498.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.685e-05/0.1195, allocations: 0 / 498.5 MB, free: 1.566 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.000363/0.1198, allocations: 43.77 kB / 498.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.1202, allocations: 123.5 kB / 498.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.1204, allocations: 83.78 kB / 498.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1206, allocations: 95.69 kB / 498.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.1207, allocations: 4.234 kB / 498.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.1208, allocations: 35.86 kB / 498.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.121, allocations: 39.83 kB / 498.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.121, allocations: 8 kB / 498.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003172/0.1213, allocations: 187.7 kB / 499.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.1214, allocations: 19.92 kB / 499.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.1214, allocations: 31.86 kB / 499.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.1218, allocations: 223.3 kB / 499.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1218, allocations: 4 kB / 499.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1218, allocations: 3.938 kB / 499.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1218, allocations: 0 / 499.4 MB, free: 0.6758 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.0006919/0.1225, allocations: 391.2 kB / 499.8 MB, free: 264 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1225, allocations: 8.031 kB / 499.8 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.1226, allocations: 12.88 kB / 499.8 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.1229, allocations: 142.3 kB / 499.9 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1229, allocations: 8.375 kB / 499.9 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.1229, allocations: 12.12 kB / 499.9 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.1232, allocations: 133 kB / 0.4883 GB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1232, allocations: 3.938 kB / 0.4883 GB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1232, allocations: 0 / 0.4883 GB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1232, allocations: 4 kB / 0.4883 GB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.1234, allocations: 81.66 kB / 0.4884 GB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.1238, allocations: 233.4 kB / 0.4887 GB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.1241, allocations: 130.9 kB / 0.4888 GB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.1242, allocations: 79.44 kB / 0.4889 GB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.1242, allocations: 0 / 0.4889 GB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.1245, allocations: 172.4 kB / 0.489 GB, free: 15.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1245, allocations: 0 / 0.489 GB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005686/0.1251, allocations: 298.8 kB / 0.4893 GB, free: 14.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.148e-05/0.1252, allocations: 106.8 kB / 0.4894 GB, free: 14.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.1253, allocations: 137.8 kB / 0.4895 GB, free: 14.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1253, allocations: 33.7 kB / 0.4896 GB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.1254, allocations: 96.06 kB / 0.4897 GB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.1254, allocations: 23.81 kB / 0.4897 GB, free: 14.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.1255, allocations: 29.7 kB / 0.4897 GB, free: 14.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1256, allocations: 322.8 kB / 0.49 GB, free: 14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1258, allocations: 65.69 kB / 0.4901 GB, free: 13.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.1259, allocations: 87.39 kB / 0.4902 GB, free: 13.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.1261, allocations: 160.9 kB / 0.4903 GB, free: 13.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1261, allocations: 0 / 0.4903 GB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003548/0.1265, allocations: 225 kB / 0.4905 GB, free: 13.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.1265, allocations: 45.62 kB / 0.4906 GB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1265, allocations: 0 / 0.4906 GB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.1265, allocations: 4 kB / 0.4906 GB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.1266, allocations: 15.98 kB / 0.4906 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.1266, allocations: 0 / 0.4906 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.1267, allocations: 11.89 kB / 0.4906 GB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1267, allocations: 4 kB / 0.4906 GB, free: 13.33 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.0001533/0.1268, allocations: 163.4 kB / 0.4908 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.1269, allocations: 20.22 kB / 0.4908 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.1269, allocations: 16.36 kB / 0.4908 GB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1269, allocations: 0 / 0.4908 GB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1269, allocations: 3.984 kB / 0.4908 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.1269, allocations: 0 / 0.4908 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1271, allocations: 137.2 kB / 0.4909 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1271, allocations: 0 / 0.4909 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.1271, allocations: 11.98 kB / 0.4909 GB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1271, allocations: 0 / 0.4909 GB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1271, allocations: 8 kB / 0.491 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1271, allocations: 0 / 0.491 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1271, allocations: 4 kB / 0.491 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/0.1276, allocations: 281.2 kB / 0.4912 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.1276, allocations: 7.953 kB / 0.4912 GB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.1276, allocations: 8 kB / 0.4912 GB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.1277, allocations: 7.984 kB / 0.4912 GB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.1277, allocations: 4 kB / 0.4913 GB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.1277, allocations: 4 kB / 0.4913 GB, free: 12.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.255e-05/0.1278, allocations: 122.1 kB / 0.4914 GB, free: 12.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1278, allocations: 0 / 0.4914 GB, free: 12.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.1282, allocations: 79.75 kB / 0.4914 GB, free: 12.39 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.001413/0.1296, allocations: 425.3 kB / 0.4919 GB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000392/0.13, allocations: 226.6 kB / 0.4921 GB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.13, allocations: 0 / 0.4921 GB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.1301, allocations: 141.1 kB / 0.4922 GB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.1304, allocations: 26.78 kB / 0.4922 GB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005761/0.1309, allocations: 278.2 kB / 0.4925 GB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.509e-05/0.131, allocations: 87.2 kB / 0.4926 GB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.1311, allocations: 11.44 kB / 0.4926 GB, free: 11.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1311, allocations: 0 / 0.4926 GB, free: 11.23 MB / 366.1 MB Notification: Performance of Templates: time 0.005486/0.1365, allocations: 2.609 MB / 0.4951 GB, free: 8.621 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.385181218385696] Failed to read output from testmodel.py, exit status != 0: 0.14481732295826077 0.16052465200000002 0.035518405 Calling exit ...