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.0007598/0.0007598, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007577/0.0007577, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8629/0.8629, allocations: 177.2 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.008437/0.008437, allocations: 2.251 MB / 262.2 MB, free: 10.97 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 386.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.318e-05, allocations: 2.281 kB / 386.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.002396/0.00243, allocations: 1.677 MB / 388.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.004047, allocations: 1.687 MB / 389.9 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.685e-05/0.004114, allocations: 7.938 kB / 389.9 MB, free: 8.496 MB / 362.7 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.0003359/0.00445, allocations: 35.78 kB / 390 MB, free: 8.461 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.004732, allocations: 127.3 kB / 390.1 MB, free: 8.336 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.004912, allocations: 87.7 kB / 390.2 MB, free: 8.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.005027, allocations: 83.77 kB / 390.3 MB, free: 8.168 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.038e-05/0.005117, allocations: 20.2 kB / 390.3 MB, free: 8.145 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/0.0052, allocations: 55.83 kB / 390.3 MB, free: 8.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.005333, allocations: 27.91 kB / 390.4 MB, free: 8.062 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.005349, allocations: 8 kB / 390.4 MB, free: 8.055 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.00555, allocations: 187.6 kB / 390.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.00561, allocations: 23.92 kB / 390.6 MB, free: 7.848 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.179e-05/0.005652, allocations: 19.92 kB / 390.6 MB, free: 7.828 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.005933, allocations: 251.3 kB / 390.8 MB, free: 7.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005935, allocations: 0 / 390.8 MB, free: 7.582 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005936, allocations: 0 / 390.8 MB, free: 7.582 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.00594, allocations: 0 / 390.8 MB, free: 7.582 MB / 362.7 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.0004877/0.006428, allocations: 391.2 kB / 391.2 MB, free: 7.164 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.006467, allocations: 8.031 kB / 391.2 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.006511, allocations: 20.84 kB / 391.2 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.006703, allocations: 141.6 kB / 391.4 MB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.006713, allocations: 384 / 391.4 MB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.006729, allocations: 12.31 kB / 391.4 MB, free: 6.961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.006934, allocations: 121.6 kB / 391.5 MB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.006947, allocations: 7.938 kB / 391.5 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.006962, allocations: 0 / 391.5 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.006968, allocations: 0 / 391.5 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.007085, allocations: 85.59 kB / 391.6 MB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.007451, allocations: 245.4 kB / 391.8 MB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.007654, allocations: 126.8 kB / 392 MB, free: 6.305 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.062e-05/0.007724, allocations: 75.45 kB / 392 MB, free: 6.219 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.007742, allocations: 4 kB / 392.1 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.007909, allocations: 168.4 kB / 392.2 MB, free: 6.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.00791, allocations: 0 / 392.2 MB, free: 6.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.00035/0.00826, allocations: 302.7 kB / 392.5 MB, free: 5.699 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.008316, allocations: 110.8 kB / 392.6 MB, free: 5.566 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.008403, allocations: 137.8 kB / 392.8 MB, free: 5.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.008417, allocations: 25.7 kB / 392.8 MB, free: 5.391 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.008469, allocations: 99.98 kB / 392.9 MB, free: 5.289 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.008496, allocations: 27.75 kB / 392.9 MB, free: 5.262 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.008531, allocations: 25.7 kB / 392.9 MB, free: 5.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.008632, allocations: 322.8 kB / 393.2 MB, free: 4.906 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.295e-05/0.008695, allocations: 65.69 kB / 393.3 MB, free: 4.836 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.705e-05/0.008762, allocations: 91.33 kB / 393.4 MB, free: 4.734 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.008914, allocations: 157 kB / 393.6 MB, free: 4.562 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.008918, allocations: 3.938 kB / 393.6 MB, free: 4.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001861/0.009104, allocations: 236.8 kB / 393.8 MB, free: 4.309 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.009135, allocations: 33.7 kB / 393.8 MB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.00914, allocations: 0 / 393.8 MB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.009152, allocations: 3.938 kB / 393.8 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.063e-05/0.009192, allocations: 11.98 kB / 393.8 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.009199, allocations: 4 kB / 393.8 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/0.009239, allocations: 8 kB / 393.8 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.009248, allocations: 8 kB / 393.9 MB, free: 4.234 MB / 362.7 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 8.649e-05/0.009335, allocations: 160.4 kB / 394 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.009352, allocations: 19.94 kB / 394 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.009374, allocations: 12.42 kB / 394 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.009377, allocations: 0 / 394 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.009382, allocations: 4 kB / 394 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.009385, allocations: 0 / 394 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.612e-05/0.009471, allocations: 137.2 kB / 394.2 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.009475, allocations: 7.875 kB / 394.2 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/0.0095, allocations: 15.92 kB / 394.2 MB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.009501, allocations: 4 kB / 394.2 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.00951, allocations: 4 kB / 394.2 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.009511, allocations: 4 kB / 394.2 MB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.009512, allocations: 0 / 394.2 MB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.009813, allocations: 273.6 kB / 394.5 MB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.009827, allocations: 15.89 kB / 394.5 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.009844, allocations: 0 / 394.5 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.931e-05/0.009873, allocations: 11.98 kB / 394.5 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.009905, allocations: 4 kB / 394.5 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.00992, allocations: 11.92 kB / 394.5 MB, free: 3.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.933e-05/0.009969, allocations: 114.4 kB / 394.6 MB, free: 3.371 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009969, allocations: 0 / 394.6 MB, free: 3.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.01017, allocations: 75.8 kB / 394.7 MB, free: 3.297 MB / 362.7 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.0007118/0.01088, allocations: 447.6 kB / 395.1 MB, free: 2.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.0111, allocations: 226.7 kB / 395.4 MB, free: 2.723 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.0111, allocations: 0 / 395.4 MB, free: 2.723 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.241e-05/0.01118, allocations: 141.1 kB / 395.5 MB, free: 2.566 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.01135, allocations: 19.92 kB / 395.5 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.01172, allocations: 266 kB / 395.8 MB, free: 2.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.007e-05/0.01177, allocations: 79.27 kB / 395.9 MB, free: 2.145 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.0118, allocations: 20.48 kB / 395.9 MB, free: 2.125 MB / 362.7 MB Notification: Performance of SimCode: time 3.6e-07/0.0118, allocations: 3.938 kB / 395.9 MB, free: 2.121 MB / 362.7 MB Notification: Performance of Templates: time 0.003342/0.01514, allocations: 2.641 MB / 398.5 MB, free: 15.49 MB / 378.7 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.51780825201422] Failed to read output from testmodel.py, exit status != 0: 0.02120245900005102 0.028567195 0.02104266 Calling exit ...