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.001429/0.001429, allocations: 101.1 kB / 18.99 MB, free: 2.754 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.00155/0.00155, allocations: 214.9 kB / 22.29 MB, free: 5.16 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.583/1.583, allocations: 230.7 MB / 256.1 MB, free: 7.727 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.01624/0.01624, allocations: 3.262 MB / 315.8 MB, free: 15.54 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.001902/0.001902, allocations: 67.89 kB / 440.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1318, allocations: 54.39 MB / 494.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.003477/0.1353, allocations: 1.655 MB / 496.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.1383, allocations: 1.699 MB / 497.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.56e-05/0.1384, allocations: 4 kB / 497.8 MB, free: 1.422 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.0003953/0.1388, allocations: 43.78 kB / 497.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.1392, allocations: 119.4 kB / 498 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.1394, allocations: 91.78 kB / 498.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1396, allocations: 91.7 kB / 498.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1397, allocations: 8.219 kB / 498.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.38e-05/0.1398, allocations: 39.84 kB / 498.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.1399, allocations: 35.84 kB / 498.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.14, allocations: 4 kB / 498.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.1403, allocations: 187.7 kB / 498.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.1403, allocations: 23.91 kB / 498.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.1404, allocations: 27.86 kB / 498.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.1408, allocations: 223.3 kB / 498.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1408, allocations: 7.938 kB / 498.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1408, allocations: 0 / 498.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1408, allocations: 0 / 498.7 MB, free: 0.5312 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.0006614/0.1415, allocations: 389.8 kB / 499.1 MB, free: 120 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1415, allocations: 12.03 kB / 499.1 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.1415, allocations: 8.891 kB / 499.1 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.1418, allocations: 146.3 kB / 499.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1418, allocations: 4.375 kB / 499.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.1419, allocations: 8.125 kB / 499.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.1421, allocations: 133 kB / 499.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1421, allocations: 7.922 kB / 499.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1421, allocations: 0 / 499.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1421, allocations: 0 / 499.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.1423, allocations: 81.67 kB / 499.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.1427, allocations: 237.4 kB / 499.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.143, allocations: 118.9 kB / 499.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.1431, allocations: 91.38 kB / 499.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.1431, allocations: 0 / 499.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.1434, allocations: 172.4 kB / 0.4884 GB, free: 14.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1434, allocations: 0 / 0.4884 GB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005633/0.1439, allocations: 294.8 kB / 0.4887 GB, free: 14.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/0.144, allocations: 110.8 kB / 0.4888 GB, free: 14.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1442, allocations: 137.8 kB / 0.4889 GB, free: 14.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1442, allocations: 29.7 kB / 0.4889 GB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.1443, allocations: 92.08 kB / 0.489 GB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.1443, allocations: 31.8 kB / 0.4891 GB, free: 14.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.1443, allocations: 21.72 kB / 0.4891 GB, free: 14.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1445, allocations: 326.8 kB / 0.4894 GB, free: 13.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.1446, allocations: 69.67 kB / 0.4895 GB, free: 13.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.1448, allocations: 87.39 kB / 0.4895 GB, free: 13.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.145, allocations: 152.9 kB / 0.4897 GB, free: 13.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.145, allocations: 0 / 0.4897 GB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000346/0.1453, allocations: 228.9 kB / 0.4899 GB, free: 13.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.1454, allocations: 41.69 kB / 0.4899 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1454, allocations: 4 kB / 0.4899 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1454, allocations: 0 / 0.4899 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.1454, allocations: 15.94 kB / 0.49 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1455, allocations: 320 / 0.49 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.1455, allocations: 15.88 kB / 0.49 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1455, allocations: 4 kB / 0.49 GB, free: 13.2 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.0001458/0.1457, allocations: 163.4 kB / 0.4901 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.1457, allocations: 15.89 kB / 0.4901 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.1457, allocations: 8.766 kB / 0.4902 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1457, allocations: 8 kB / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1457, allocations: 0 / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1458, allocations: 3.984 kB / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.1459, allocations: 137.2 kB / 0.4903 GB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1459, allocations: 0 / 0.4903 GB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.146, allocations: 8 kB / 0.4903 GB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.146, allocations: 8 kB / 0.4903 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.146, allocations: 8 kB / 0.4903 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.146, allocations: 0 / 0.4903 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.146, allocations: 0 / 0.4903 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.1464, allocations: 289.1 kB / 0.4906 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.1464, allocations: 11.94 kB / 0.4906 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.1464, allocations: 8 kB / 0.4906 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.1465, allocations: 4 kB / 0.4906 GB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.1465, allocations: 7.984 kB / 0.4906 GB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.1466, allocations: 8 kB / 0.4906 GB, free: 12.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.071e-05/0.1466, allocations: 110.3 kB / 0.4907 GB, free: 12.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1466, allocations: 3.938 kB / 0.4907 GB, free: 12.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.1469, allocations: 75.75 kB / 0.4908 GB, free: 12.25 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.001283/0.1482, allocations: 432.5 kB / 0.4912 GB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003741/0.1486, allocations: 230.6 kB / 0.4914 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1486, allocations: 0 / 0.4914 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.1488, allocations: 141.1 kB / 0.4916 GB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.149, allocations: 15.75 kB / 0.4916 GB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.1496, allocations: 276.4 kB / 0.4919 GB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.772e-05/0.1496, allocations: 87.36 kB / 0.4919 GB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.967e-05/0.1497, allocations: 16.25 kB / 0.492 GB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.1497, allocations: 12.5 kB / 0.492 GB, free: 11.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1497, allocations: 7.938 kB / 0.492 GB, free: 11.07 MB / 366.1 MB Notification: Performance of Templates: time 0.006385/0.1561, allocations: 2.554 MB / 0.4945 GB, free: 8.523 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: 4.9237973522394896] Failed to read output from testmodel.py, exit status != 0: 0.16394650377333164 0.18948873300000002 0.044111337 Calling exit ...