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.00175/0.00175, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002041/0.002041, allocations: 156.1 kB / 23.01 MB, free: 4.949 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.526/1.526, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.01453/0.01453, allocations: 2.261 MB / 262 MB, free: 14.4 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.002097/0.002097, allocations: 74.55 kB / 386.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.1021, allocations: 54.33 MB / 440.6 MB, free: 11.29 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.003406/0.1055, allocations: 1.685 MB / 442.3 MB, free: 9.586 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002769/0.1082, allocations: 1.699 MB / 444 MB, free: 7.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.85e-05/0.1083, allocations: 0 / 444 MB, free: 7.879 MB / 414.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.0003521/0.1087, allocations: 35.78 kB / 444.1 MB, free: 7.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004072/0.1091, allocations: 127.4 kB / 444.2 MB, free: 7.719 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.1093, allocations: 87.77 kB / 444.3 MB, free: 7.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1095, allocations: 83.78 kB / 444.3 MB, free: 7.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1096, allocations: 12.22 kB / 444.4 MB, free: 7.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.296e-05/0.1096, allocations: 35.86 kB / 444.4 MB, free: 7.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.1098, allocations: 39.77 kB / 444.4 MB, free: 7.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.1098, allocations: 8 kB / 444.4 MB, free: 7.453 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.1102, allocations: 187.8 kB / 444.6 MB, free: 7.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.717e-05/0.1102, allocations: 15.94 kB / 444.6 MB, free: 7.254 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.1103, allocations: 31.84 kB / 444.7 MB, free: 7.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.1107, allocations: 223.2 kB / 444.9 MB, free: 7.004 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.1107, allocations: 4 kB / 444.9 MB, free: 7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1107, allocations: 4 kB / 444.9 MB, free: 6.996 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.1107, allocations: 4 kB / 444.9 MB, free: 6.992 MB / 414.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.0006334/0.1114, allocations: 383.2 kB / 445.3 MB, free: 6.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1114, allocations: 8.031 kB / 445.3 MB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.1114, allocations: 8.891 kB / 445.3 MB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.1118, allocations: 146.3 kB / 445.4 MB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1118, allocations: 12.31 kB / 445.4 MB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.1118, allocations: 8.125 kB / 445.5 MB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.1121, allocations: 129 kB / 445.6 MB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1121, allocations: 4 kB / 445.6 MB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1121, allocations: 0 / 445.6 MB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.1121, allocations: 7.984 kB / 445.6 MB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.1123, allocations: 81.67 kB / 445.7 MB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.1127, allocations: 237.3 kB / 445.9 MB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.113, allocations: 122.9 kB / 446 MB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.1131, allocations: 83.38 kB / 446.1 MB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1131, allocations: 4 kB / 446.1 MB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.1134, allocations: 172.4 kB / 446.3 MB, free: 5.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.103e-06/0.1134, allocations: 0 / 446.3 MB, free: 5.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000585/0.114, allocations: 302.7 kB / 446.6 MB, free: 5.109 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.1141, allocations: 106.8 kB / 446.7 MB, free: 4.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1142, allocations: 137.8 kB / 446.8 MB, free: 4.836 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1142, allocations: 25.7 kB / 446.8 MB, free: 4.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.1143, allocations: 92.12 kB / 446.9 MB, free: 4.711 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.1143, allocations: 27.75 kB / 447 MB, free: 4.684 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.1144, allocations: 37.7 kB / 447 MB, free: 4.641 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1145, allocations: 322.7 kB / 447.3 MB, free: 4.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.1147, allocations: 73.67 kB / 447.4 MB, free: 4.238 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.1148, allocations: 83.39 kB / 447.5 MB, free: 4.145 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.115, allocations: 149 kB / 447.6 MB, free: 3.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.115, allocations: 4 kB / 447.6 MB, free: 3.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003736/0.1154, allocations: 224.9 kB / 447.8 MB, free: 3.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.196e-05/0.1155, allocations: 41.69 kB / 447.9 MB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1155, allocations: 0 / 447.9 MB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.1155, allocations: 4 kB / 447.9 MB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-05/0.1156, allocations: 19.92 kB / 447.9 MB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1156, allocations: 0 / 447.9 MB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.1156, allocations: 7.953 kB / 447.9 MB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1156, allocations: 4 kB / 447.9 MB, free: 3.656 MB / 414.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.0001327/0.1158, allocations: 166.6 kB / 448.1 MB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.1158, allocations: 11.95 kB / 448.1 MB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.1158, allocations: 16.42 kB / 448.1 MB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1158, allocations: 3.938 kB / 448.1 MB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1158, allocations: 0 / 448.1 MB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1159, allocations: 4 kB / 448.1 MB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.116, allocations: 137.2 kB / 448.2 MB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.116, allocations: 4 kB / 448.2 MB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.116, allocations: 8 kB / 448.2 MB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1161, allocations: 3.938 kB / 448.3 MB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.1161, allocations: 7.984 kB / 448.3 MB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1161, allocations: 0 / 448.3 MB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1161, allocations: 0 / 448.3 MB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.1165, allocations: 281.5 kB / 448.5 MB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.1165, allocations: 15.94 kB / 448.5 MB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.1165, allocations: 11.98 kB / 448.6 MB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.019e-05/0.1166, allocations: 4 kB / 448.6 MB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.1166, allocations: 11.98 kB / 448.6 MB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.1167, allocations: 4 kB / 448.6 MB, free: 2.898 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.345e-05/0.1167, allocations: 107.2 kB / 448.7 MB, free: 2.793 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1167, allocations: 0 / 448.7 MB, free: 2.793 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.1171, allocations: 79.73 kB / 448.8 MB, free: 2.715 MB / 414.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.0013/0.1184, allocations: 429.8 kB / 449.2 MB, free: 2.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.1188, allocations: 230.6 kB / 449.4 MB, free: 2.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1188, allocations: 0 / 449.4 MB, free: 2.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.119, allocations: 145 kB / 449.6 MB, free: 1.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.1192, allocations: 12 kB / 449.6 MB, free: 1.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.1197, allocations: 276.3 kB / 449.8 MB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.041e-05/0.1198, allocations: 89.11 kB / 449.9 MB, free: 1.566 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.588e-05/0.1198, allocations: 4 kB / 449.9 MB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.1199, allocations: 16.5 kB / 449.9 MB, free: 1.547 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1199, allocations: 0 / 449.9 MB, free: 1.547 MB / 414.1 MB Notification: Performance of Templates: time 0.006427/0.1263, allocations: 2.573 MB / 452.5 MB, free: 14.98 MB / 430.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 -s ida -lv LOG_STATS > ExternData_ExternData.Examples.XMLTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.505709495046176] Failed to read output from testmodel.py, exit status != 0: 0.13488258596044034 0.148947873 0.035085684 Calling exit ...