Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestInnerOuter.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.001377/0.001377, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.001497/0.001497, allocations: 166.6 kB / 22.46 MB, free: 5.379 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.479/1.479, 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.01431/0.01431, allocations: 2.257 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.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 385.8 MB, free: 488 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.245e-05, allocations: 2.281 kB / 385.8 MB, free: 484 kB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.003518/0.00355, allocations: 1.688 MB / 387.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.006208, allocations: 1.699 MB / 389.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.698e-05/0.006275, 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.0003814/0.006657, allocations: 51.69 kB / 389.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004422/0.007099, allocations: 123.4 kB / 389.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.00736, allocations: 95.7 kB / 389.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.007537, allocations: 91.77 kB / 389.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.789e-05/0.007635, allocations: 16.11 kB / 389.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.007758, allocations: 63.81 kB / 389.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.007914, allocations: 23.92 kB / 389.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.007944, allocations: 8 kB / 389.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.008273, allocations: 195.7 kB / 389.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.008344, allocations: 23.92 kB / 389.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.008404, allocations: 27.91 kB / 389.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.008855, allocations: 271.2 kB / 390.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.008858, allocations: 0 / 390.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.00886, allocations: 0 / 390.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.008865, allocations: 0 / 390.2 MB, free: 12.09 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.0006875/0.009552, allocations: 392.9 kB / 390.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.009594, allocations: 12.03 kB / 390.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.009644, allocations: 8.891 kB / 390.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.009965, allocations: 149.6 kB / 390.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.00998, allocations: 384 / 390.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.01, allocations: 8.359 kB / 390.7 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.0103, allocations: 141.6 kB / 390.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.01031, allocations: 3.938 kB / 390.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.01033, allocations: 4 kB / 390.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.01033, allocations: 0 / 390.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.01053, allocations: 89.67 kB / 390.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.011, allocations: 253.3 kB / 391.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.01132, allocations: 130.9 kB / 391.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.01147, allocations: 87.39 kB / 391.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.01149, allocations: 4 kB / 391.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.01176, allocations: 192.5 kB / 391.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.01176, allocations: 0 / 391.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006304/0.01239, allocations: 314.6 kB / 391.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/0.01249, allocations: 114.8 kB / 392 MB, free: 9.992 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.01264, allocations: 137.8 kB / 392.2 MB, free: 9.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.01267, allocations: 25.7 kB / 392.2 MB, free: 9.816 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.01273, allocations: 92.14 kB / 392.3 MB, free: 9.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.01278, allocations: 31.73 kB / 392.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/0.01284, allocations: 21.72 kB / 392.3 MB, free: 9.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.01301, allocations: 322.8 kB / 392.6 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.01313, allocations: 77.67 kB / 392.7 MB, free: 9.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.01327, allocations: 91.34 kB / 392.8 MB, free: 9.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.01353, allocations: 176.9 kB / 393 MB, free: 8.965 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.01353, allocations: 7.938 kB / 393 MB, free: 8.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000399/0.01393, allocations: 240.9 kB / 393.2 MB, free: 8.703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.01398, allocations: 37.7 kB / 393.3 MB, free: 8.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.01399, allocations: 3.984 kB / 393.3 MB, free: 8.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.01401, allocations: 0 / 393.3 MB, free: 8.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.533e-05/0.01408, allocations: 12 kB / 393.3 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.01409, allocations: 3.938 kB / 393.3 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.614e-05/0.01417, allocations: 11.94 kB / 393.3 MB, free: 8.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.01418, allocations: 8 kB / 393.3 MB, free: 8.621 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 (component.timeTable.nextEventScaled,component.timeTable.nextEvent,$PRE.component.timeTable.nextEvent,component.timeTable.last,component.timeTable.b,component.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.0001706/0.01436, allocations: 167.5 kB / 393.5 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.01439, allocations: 7.953 kB / 393.5 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.01442, allocations: 12.77 kB / 393.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.01444, allocations: 0 / 393.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.01445, allocations: 3.938 kB / 393.5 MB, free: 8.418 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.01445, allocations: 7.984 kB / 393.5 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.01463, allocations: 137.2 kB / 393.6 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.01463, allocations: 3.938 kB / 393.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.01469, allocations: 12 kB / 393.6 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.01469, allocations: 4 kB / 393.6 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.01471, allocations: 7.984 kB / 393.6 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01472, allocations: 4 kB / 393.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01472, allocations: 0 / 393.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/0.01519, allocations: 297.2 kB / 393.9 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/0.01521, allocations: 11.89 kB / 394 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/0.01526, allocations: 8 kB / 394 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/0.01533, allocations: 4 kB / 394 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.01538, allocations: 11.98 kB / 394 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.01541, allocations: 8.062 kB / 394 MB, free: 7.848 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.948e-05/0.01551, allocations: 110.6 kB / 394.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01551, allocations: 0 / 394.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.01591, allocations: 91.67 kB / 394.2 MB, free: 7.652 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,component.timeTable.a,component.timeTable.b,component.timeTable.last,component.timeTable.nextEvent,component.timeTable.nextEventScaled) * Number of discrete states: 6 (component.timeTable.nextEvent,component.timeTable.last,component.timeTable.nextEventScaled,component.timeTable.b,component.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.001575/0.01748, allocations: 431.6 kB / 394.6 MB, free: 7.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004379/0.01792, allocations: 246.7 kB / 394.8 MB, free: 7.066 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01792, allocations: 0 / 394.8 MB, free: 7.066 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.01812, allocations: 157 kB / 395 MB, free: 6.895 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.01841, allocations: 24.31 kB / 395 MB, free: 6.871 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.01904, allocations: 275.7 kB / 395.3 MB, free: 6.566 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.01914, allocations: 89.11 kB / 395.4 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.389e-05/0.01918, allocations: 11.94 kB / 395.4 MB, free: 6.445 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.01923, allocations: 16.48 kB / 395.4 MB, free: 6.426 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01923, allocations: 0 / 395.4 MB, free: 6.426 MB / 318.1 MB Notification: Performance of Templates: time 0.007657/0.02689, allocations: 2.718 MB / 398.1 MB, free: 3.727 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestInnerOuter.pipe >> ../files/ExternData_ExternData.Examples.XMLTestInnerOuter.sim & ./ExternData_ExternData.Examples.XMLTestInnerOuter -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.52196392044425] Failed to read output from testmodel.py, exit status != 0: 0.03642519190907478 0.052590241 0.040445401000000006 Calling exit ...