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.001931/0.001931, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002184/0.002184, allocations: 221.8 kB / 23 MB, free: 4.914 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.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.0167/0.0167, allocations: 3.274 MB / 316.5 MB, free: 15.63 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: 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.002365/0.002365, allocations: 67.89 kB / 440.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1152, allocations: 54.38 MB / 495.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.003652/0.1188, allocations: 1.505 MB / 496.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.1213, allocations: 1.332 MB / 498 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.434e-05/0.1214, allocations: 0 / 498 MB, free: 2.148 MB / 350.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.0003884/0.1217, allocations: 47.77 kB / 498 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.1219, allocations: 31.8 kB / 498 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.1223, allocations: 82.28 kB / 498.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1224, allocations: 47.92 kB / 498.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.574e-05/0.1225, allocations: 7.984 kB / 498.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.51e-05/0.1226, allocations: 27.86 kB / 498.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.1227, allocations: 19.92 kB / 498.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.1228, allocations: 7.938 kB / 498.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.123, allocations: 91.84 kB / 498.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.123, allocations: 11.98 kB / 498.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.1231, allocations: 23.92 kB / 498.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.1234, allocations: 119.6 kB / 498.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1234, allocations: 0 / 498.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1234, allocations: 0 / 498.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1234, allocations: 0 / 498.5 MB, free: 1.641 MB / 350.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.0006284/0.124, allocations: 327.7 kB / 498.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1241, allocations: 8.031 kB / 498.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.1241, allocations: 4.938 kB / 498.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1244, allocations: 138.3 kB / 498.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.1245, allocations: 384 / 498.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1245, allocations: 12.3 kB / 499 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.1247, allocations: 99.67 kB / 499.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1247, allocations: 0 / 499.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1247, allocations: 4 kB / 499.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1247, allocations: 4 kB / 499.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.766e-05/0.1248, allocations: 57.69 kB / 499.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.125, allocations: 113.3 kB / 499.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.1251, allocations: 80.2 kB / 499.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.425e-05/0.1252, allocations: 58.59 kB / 499.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.1252, allocations: 0 / 499.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.1254, allocations: 142.8 kB / 499.5 MB, free: 468 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.1254, allocations: 4 kB / 499.5 MB, free: 464 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005229/0.1259, allocations: 258.8 kB / 499.8 MB, free: 180 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.126, allocations: 81.11 kB / 499.8 MB, free: 80 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1262, allocations: 125.7 kB / 500 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.1262, allocations: 25.7 kB / 500 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.645e-05/0.1263, allocations: 92.12 kB / 0.4884 GB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.1264, allocations: 15.91 kB / 0.4884 GB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.1264, allocations: 21.72 kB / 0.4884 GB, free: 15.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000262/0.1267, allocations: 314.8 kB / 0.4887 GB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-05/0.1268, allocations: 61.69 kB / 0.4888 GB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.837e-05/0.1269, allocations: 65.69 kB / 0.4888 GB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.127, allocations: 124.6 kB / 0.4889 GB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.127, allocations: 3.938 kB / 0.4889 GB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000307/0.1274, allocations: 197 kB / 0.4891 GB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.747e-05/0.1274, allocations: 45.62 kB / 0.4892 GB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.1274, allocations: 0 / 0.4892 GB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.1275, allocations: 4 kB / 0.4892 GB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.934e-05/0.1275, allocations: 7.938 kB / 0.4892 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1275, allocations: 0 / 0.4892 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.1276, allocations: 0 / 0.4892 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1276, allocations: 4 kB / 0.4892 GB, free: 14.91 MB / 366.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.0001646/0.1278, allocations: 159.5 kB / 0.4893 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.1278, allocations: 15.88 kB / 0.4893 GB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.1278, allocations: 12.38 kB / 0.4894 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1279, allocations: 0 / 0.4894 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1279, allocations: 0 / 0.4894 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1279, allocations: 0 / 0.4894 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.128, allocations: 117.2 kB / 0.4895 GB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.128, allocations: 3.984 kB / 0.4895 GB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.1281, allocations: 8 kB / 0.4895 GB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1281, allocations: 0 / 0.4895 GB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.1281, allocations: 11.94 kB / 0.4895 GB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1281, allocations: 4 kB / 0.4895 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1281, allocations: 0 / 0.4895 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.1284, allocations: 248.4 kB / 0.4897 GB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.1285, allocations: 3.953 kB / 0.4897 GB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1285, allocations: 7.938 kB / 0.4897 GB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.608e-05/0.1285, allocations: 7.938 kB / 0.4898 GB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.1286, allocations: 0 / 0.4898 GB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.1286, allocations: 7.984 kB / 0.4898 GB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.514e-05/0.1287, allocations: 95.28 kB / 0.4899 GB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1287, allocations: 288 / 0.4899 GB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1289, allocations: 43.92 kB / 0.4899 GB, free: 14.09 MB / 366.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.001002/0.1299, allocations: 278 kB / 0.4902 GB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002935/0.1302, allocations: 198.8 kB / 0.4904 GB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1302, allocations: 0 / 0.4904 GB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.1304, allocations: 133 kB / 0.4905 GB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.1306, allocations: 15.97 kB / 0.4905 GB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.131, allocations: 217 kB / 0.4907 GB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.007e-05/0.1311, allocations: 75.33 kB / 0.4908 GB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.1311, allocations: 11.44 kB / 0.4908 GB, free: 13.14 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1311, allocations: 0 / 0.4908 GB, free: 13.14 MB / 366.1 MB Notification: Performance of Templates: time 0.004004/0.1351, allocations: 1.489 MB / 0.4922 GB, free: 11.66 MB / 366.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: 7.242529285140336] Failed to read output from testmodel.py, exit status != 0: 0.14450086932629347 0.16072342399999995 0.033891655 Calling exit ...