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.001434/0.001434, allocations: 79.44 kB / 19.18 MB, free: 2.52 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.001418/0.001418, allocations: 166.7 kB / 22.46 MB, free: 5.375 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.532/1.532, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.01587/0.01587, allocations: 2.262 MB / 261.4 MB, free: 14.44 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: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 385.8 MB, free: 488 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.966e-05, allocations: 9.375 kB / 385.8 MB, free: 480 kB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.005117/0.005147, allocations: 1.677 MB / 387.5 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004605/0.009752, allocations: 1.699 MB / 389.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.009862, allocations: 0 / 389.2 MB, free: 13.07 MB / 318.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.0005327/0.0104, allocations: 43.7 kB / 389.2 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007085/0.0111, allocations: 119.4 kB / 389.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.01158, allocations: 88.58 kB / 389.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.01183, allocations: 87.77 kB / 389.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.01197, allocations: 12.17 kB / 389.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.01216, allocations: 55.88 kB / 389.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.01236, allocations: 23.92 kB / 389.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.01239, allocations: 4 kB / 389.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/0.01293, allocations: 199.6 kB / 389.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.02e-05/0.01302, allocations: 19.92 kB / 389.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.205e-05/0.01311, allocations: 19.92 kB / 389.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000759/0.01387, allocations: 255.2 kB / 390.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.01388, allocations: 0 / 390.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01388, allocations: 0 / 390.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.01389, allocations: 0 / 390.1 MB, free: 12.16 MB / 318.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.001038/0.01493, allocations: 396.9 kB / 390.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.77e-05/0.015, allocations: 8.031 kB / 390.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.409e-05/0.01509, allocations: 12.89 kB / 390.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.01557, allocations: 140.5 kB / 390.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.01559, allocations: 4.375 kB / 390.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.01563, allocations: 4.375 kB / 390.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/0.01605, allocations: 133.5 kB / 390.8 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.01606, allocations: 3.938 kB / 390.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.01608, allocations: 8 kB / 390.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.01609, allocations: 0 / 390.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.01638, allocations: 81.67 kB / 390.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/0.01703, allocations: 237.4 kB / 391.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/0.01749, allocations: 122.9 kB / 391.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.0178, allocations: 79.44 kB / 391.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.01782, allocations: 4 kB / 391.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004202/0.01824, allocations: 192.5 kB / 391.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.585e-06/0.01824, allocations: 0 / 391.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009002/0.01914, allocations: 286.6 kB / 391.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.01925, allocations: 110.8 kB / 391.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.01948, allocations: 137.8 kB / 392 MB, free: 9.996 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.01952, allocations: 29.7 kB / 392 MB, free: 9.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.01961, allocations: 88.14 kB / 392.1 MB, free: 9.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.572e-05/0.01968, allocations: 31.73 kB / 392.1 MB, free: 9.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.915e-05/0.01977, allocations: 21.72 kB / 392.2 MB, free: 9.812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.01999, allocations: 322.8 kB / 392.5 MB, free: 9.488 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.0202, allocations: 73.67 kB / 392.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.02043, allocations: 87.39 kB / 392.6 MB, free: 9.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.02086, allocations: 160.9 kB / 392.8 MB, free: 9.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.02088, allocations: 3.938 kB / 392.8 MB, free: 9.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006889/0.02156, allocations: 229.3 kB / 393 MB, free: 8.891 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.611e-05/0.02164, allocations: 37.69 kB / 393.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.02165, allocations: 4 kB / 393.1 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.02167, allocations: 0 / 393.1 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.0218, allocations: 12 kB / 393.1 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.0218, allocations: 0 / 393.1 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.02194, allocations: 15.94 kB / 393.1 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.02196, allocations: 4 kB / 393.1 MB, free: 8.812 MB / 318.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.0002554/0.02222, allocations: 167.4 kB / 393.3 MB, free: 8.633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.02228, allocations: 7.953 kB / 393.3 MB, free: 8.625 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.184e-05/0.02233, allocations: 12.44 kB / 393.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.02234, allocations: 0 / 393.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.02235, allocations: 7.938 kB / 393.3 MB, free: 8.605 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.02236, allocations: 3.984 kB / 393.3 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.02266, allocations: 133.2 kB / 393.4 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.02266, allocations: 3.938 kB / 393.4 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-05/0.02276, allocations: 8 kB / 393.4 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.02276, allocations: 0 / 393.4 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.02279, allocations: 8 kB / 393.4 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.0228, allocations: 3.984 kB / 393.4 MB, free: 8.418 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/0.02281, allocations: 4 kB / 393.5 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008059/0.02362, allocations: 277.2 kB / 393.7 MB, free: 8.109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.02366, allocations: 15.88 kB / 393.7 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.02371, allocations: 0 / 393.7 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.02382, allocations: 12 kB / 393.8 MB, free: 8.082 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.02387, allocations: 7.984 kB / 393.8 MB, free: 8.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.02391, allocations: 4 kB / 393.8 MB, free: 8.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.02408, allocations: 110.6 kB / 393.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.02408, allocations: 0 / 393.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006624/0.02474, allocations: 79.73 kB / 393.9 MB, free: 7.887 MB / 318.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.002348/0.02709, allocations: 430.3 kB / 394.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006542/0.02774, allocations: 238.6 kB / 394.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.02775, allocations: 4 kB / 394.6 MB, free: 7.305 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.0281, allocations: 145.3 kB / 394.7 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.02851, allocations: 16.03 kB / 394.8 MB, free: 7.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.02952, allocations: 275.6 kB / 395 MB, free: 6.824 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.02967, allocations: 81.12 kB / 395.1 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.801e-05/0.02974, allocations: 15.94 kB / 395.1 MB, free: 6.707 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.02981, allocations: 16.5 kB / 395.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.02981, allocations: 0 / 395.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of Templates: time 0.0121/0.04191, allocations: 2.584 MB / 397.7 MB, free: 4.117 MB / 318.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.704656910151243] Failed to read output from testmodel.py, exit status != 0: 0.056204572319984436 0.082237428 0.064958519 Calling exit ...