Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.MATTest.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.001463/0.001463, allocations: 79.28 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.001482/0.001482, allocations: 163.1 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.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.152 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.01323/0.01323, allocations: 2.262 MB / 261.4 MB, free: 14.41 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.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 385.8 MB, free: 476 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.875e-05, allocations: 2.281 kB / 385.8 MB, free: 472 kB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.003018/0.003047, allocations: 1.515 MB / 387.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.005115, allocations: 1.36 MB / 388.7 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.005171, allocations: 4 kB / 388.7 MB, free: 13.56 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:123:3-145:14:writable] Warning: Pure function 'ExternData.MATFile' contains a call to impure function 'ExternData.Types.ExternMATFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.000413/0.005584, allocations: 31.8 kB / 388.7 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.005732, allocations: 27.84 kB / 388.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.006036, allocations: 79.72 kB / 388.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.006191, allocations: 59.78 kB / 388.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.006237, allocations: 0 / 388.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.006339, allocations: 39.91 kB / 388.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.006488, allocations: 15.97 kB / 388.9 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.006507, allocations: 0 / 388.9 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.006692, allocations: 111.7 kB / 389 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.006756, allocations: 11.98 kB / 389 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.771e-05/0.006823, allocations: 15.92 kB / 389.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.007094, allocations: 135.6 kB / 389.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.007099, allocations: 0 / 389.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.0071, allocations: 0 / 389.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.007105, allocations: 4 kB / 389.2 MB, free: 13.04 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005898/0.007695, allocations: 321.4 kB / 389.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.007734, allocations: 8.031 kB / 389.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.00778, allocations: 8.891 kB / 389.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.008017, allocations: 133.7 kB / 389.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.008031, allocations: 4.375 kB / 389.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.008042, allocations: 384 / 389.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.008222, allocations: 91.94 kB / 389.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.008231, allocations: 192 / 389.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.008245, allocations: 4.375 kB / 389.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.008252, allocations: 3.938 kB / 389.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.326e-05/0.008345, allocations: 61.67 kB / 389.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.00851, allocations: 113.3 kB / 389.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.008621, allocations: 80.2 kB / 390 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.87e-05/0.00871, allocations: 62.59 kB / 390.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.008721, allocations: 4 kB / 390.1 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.008911, allocations: 134.8 kB / 390.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.008912, allocations: 4 kB / 390.2 MB, free: 11.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004313/0.009344, allocations: 254.8 kB / 390.5 MB, free: 11.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.009422, allocations: 88.97 kB / 390.5 MB, free: 11.49 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.009528, allocations: 121.8 kB / 390.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.009548, allocations: 25.7 kB / 390.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.009601, allocations: 88.12 kB / 390.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.009638, allocations: 23.83 kB / 390.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.009685, allocations: 21.72 kB / 390.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.009831, allocations: 322.8 kB / 391.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.009908, allocations: 58.06 kB / 391.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-05/0.009978, allocations: 65.62 kB / 391.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.01011, allocations: 120.2 kB / 391.4 MB, free: 10.6 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01012, allocations: 0 / 391.4 MB, free: 10.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002677/0.01038, allocations: 205 kB / 391.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.01044, allocations: 44.34 kB / 391.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01044, allocations: 0 / 391.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.01046, allocations: 0 / 391.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.792e-05/0.01054, allocations: 11.94 kB / 391.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.01054, allocations: 0 / 391.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.0106, allocations: 11.95 kB / 391.6 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.01062, allocations: 4 kB / 391.6 MB, free: 10.31 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 3 * 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.0001322/0.01075, allocations: 151.5 kB / 391.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.01077, allocations: 7.938 kB / 391.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.01079, allocations: 8.438 kB / 391.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01079, allocations: 144 / 391.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.01081, allocations: 7.922 kB / 391.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01081, allocations: 3.984 kB / 391.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.01092, allocations: 117.3 kB / 391.9 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.01092, allocations: 0 / 391.9 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.01094, allocations: 8 kB / 391.9 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01095, allocations: 3.938 kB / 391.9 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.01097, allocations: 11.98 kB / 392 MB, free: 9.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01097, allocations: 0 / 392 MB, free: 9.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01097, allocations: 0 / 392 MB, free: 9.949 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.01132, allocations: 240.4 kB / 392.2 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.01133, allocations: 11.89 kB / 392.2 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.01136, allocations: 7.984 kB / 392.2 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.37e-05/0.0114, allocations: 4.094 kB / 392.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.01144, allocations: 7.875 kB / 392.2 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.01146, allocations: 8 kB / 392.2 MB, free: 9.645 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.884e-05/0.01154, allocations: 103.2 kB / 392.3 MB, free: 9.543 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01154, allocations: 0 / 392.3 MB, free: 9.543 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.01178, allocations: 39.92 kB / 392.4 MB, free: 9.504 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 2 * 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.000961/0.01274, allocations: 273.8 kB / 392.6 MB, free: 9.289 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002835/0.01303, allocations: 198.8 kB / 392.8 MB, free: 9.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01303, allocations: 0 / 392.8 MB, free: 9.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.01315, allocations: 125.1 kB / 393 MB, free: 8.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.01335, allocations: 11.94 kB / 393 MB, free: 8.918 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.01381, allocations: 230.2 kB / 393.2 MB, free: 8.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.63e-05/0.01389, allocations: 75.33 kB / 393.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.128e-05/0.01391, allocations: 0 / 393.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.01394, allocations: 16.48 kB / 393.3 MB, free: 8.551 MB / 318.1 MB Notification: Performance of SimCode: time 4.1e-07/0.01394, allocations: 0 / 393.3 MB, free: 8.551 MB / 318.1 MB Notification: Performance of Templates: time 0.0049/0.01884, allocations: 1.526 MB / 394.8 MB, free: 7.043 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.MATTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.MATTest.pipe ; mkfifo ExternData_ExternData.Examples.MATTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.MATTest.pipe >> ../files/ExternData_ExternData.Examples.MATTest.sim & ./ExternData_ExternData.Examples.MATTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.MATTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.408432196825743] Failed to read output from testmodel.py, exit status != 0: 0.027273617684841156 0.042580947 0.032431800000000004 Calling exit ...