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.001418/0.001418, allocations: 110.4 kB / 19.7 MB, free: 2.262 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.001424/0.001424, allocations: 217.9 kB / 23.01 MB, free: 4.598 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.01638/0.01638, allocations: 3.271 MB / 316.5 MB, free: 15.82 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.001948/0.001948, allocations: 63.91 kB / 440.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1106, allocations: 54.37 MB / 495.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.00335/0.1139, allocations: 1.518 MB / 496.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.1164, allocations: 1.391 MB / 498.1 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.1165, allocations: 0 / 498.1 MB, free: 2.359 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.0003757/0.1169, allocations: 43.78 kB / 498.1 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.117, allocations: 27.84 kB / 498.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.1173, allocations: 79.8 kB / 498.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.1175, allocations: 55.84 kB / 498.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.1175, allocations: 0 / 498.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.928e-05/0.1176, allocations: 35.84 kB / 498.3 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.1178, allocations: 19.92 kB / 498.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1178, allocations: 4 kB / 498.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.118, allocations: 103.8 kB / 498.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.118, allocations: 11.92 kB / 498.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.1181, allocations: 31.86 kB / 498.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.1183, allocations: 111.7 kB / 498.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1183, allocations: 0 / 498.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1184, allocations: 0 / 498.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1184, allocations: 0 / 498.6 MB, free: 1.844 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.0005193/0.1189, allocations: 331.6 kB / 498.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1189, allocations: 8.031 kB / 499 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.119, allocations: 4.938 kB / 499 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.1192, allocations: 130.4 kB / 499.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.1192, allocations: 8.375 kB / 499.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.1193, allocations: 4.375 kB / 499.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1194, allocations: 69.97 kB / 499.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1194, allocations: 0 / 499.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1194, allocations: 0 / 499.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.1194, allocations: 0 / 499.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.1195, allocations: 27.98 kB / 499.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.1197, allocations: 144.7 kB / 499.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.927e-05/0.1198, allocations: 46.5 kB / 499.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/0.1199, allocations: 36.89 kB / 499.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.1199, allocations: 0 / 499.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.12, allocations: 105 kB / 499.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/0.12, allocations: 3.938 kB / 499.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003743/0.1204, allocations: 195.4 kB / 499.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.1205, allocations: 81.09 kB / 499.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.1206, allocations: 129.7 kB / 499.9 MB, free: 376 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1206, allocations: 29.7 kB / 499.9 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.1207, allocations: 84.14 kB / 0.4883 GB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.1207, allocations: 19.89 kB / 0.4883 GB, free: 232 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.1208, allocations: 21.72 kB / 0.4883 GB, free: 204 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1209, allocations: 318.8 kB / 0.4887 GB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.126e-05/0.121, allocations: 24 kB / 0.4887 GB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.441e-05/0.121, allocations: 27.98 kB / 0.4887 GB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1212, allocations: 124.2 kB / 0.4888 GB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1212, allocations: 0 / 0.4888 GB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002287/0.1214, allocations: 167.2 kB / 0.489 GB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.1214, allocations: 38.17 kB / 0.489 GB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1214, allocations: 0 / 0.489 GB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1215, allocations: 7.984 kB / 0.489 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.1215, allocations: 4 kB / 0.489 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1215, allocations: 0 / 0.489 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.536e-05/0.1216, allocations: 3.938 kB / 0.489 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1216, allocations: 4 kB / 0.489 GB, free: 15.45 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.0001324/0.1217, allocations: 162 kB / 0.4892 GB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1218, allocations: 11.89 kB / 0.4892 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.1218, allocations: 12.52 kB / 0.4892 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1218, allocations: 3.984 kB / 0.4892 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1218, allocations: 0 / 0.4892 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1218, allocations: 0 / 0.4892 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.1219, allocations: 156.6 kB / 0.4894 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1219, allocations: 0 / 0.4894 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.122, allocations: 7.938 kB / 0.4894 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.122, allocations: 0 / 0.4894 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.122, allocations: 12 kB / 0.4894 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.122, allocations: 3.984 kB / 0.4894 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.122, allocations: 0 / 0.4894 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.1223, allocations: 206.7 kB / 0.4896 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.1223, allocations: 11.89 kB / 0.4896 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.1223, allocations: 8 kB / 0.4896 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/0.1223, allocations: 0 / 0.4896 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.1224, allocations: 11.92 kB / 0.4896 GB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1224, allocations: 7.938 kB / 0.4896 GB, free: 14.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.944e-05/0.1225, allocations: 99.27 kB / 0.4897 GB, free: 14.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1225, allocations: 0 / 0.4897 GB, free: 14.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.1227, allocations: 39.94 kB / 0.4898 GB, free: 14.63 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.0009087/0.1236, allocations: 259.7 kB / 0.49 GB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.1239, allocations: 131.4 kB / 0.4901 GB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1239, allocations: 0 / 0.4901 GB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.124, allocations: 99.33 kB / 0.4902 GB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.1242, allocations: 8.234 kB / 0.4902 GB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.1246, allocations: 195.2 kB / 0.4904 GB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.1249, allocations: 0.6846 MB / 0.4911 GB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.125, allocations: 7.438 kB / 0.4911 GB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.125, allocations: 0 / 0.4911 GB, free: 13.23 MB / 366.1 MB Notification: Performance of Templates: time 0.003849/0.1288, allocations: 1.49 MB / 0.4925 GB, free: 11.75 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.5148981309030205] Failed to read output from testmodel.py, exit status != 0: 0.1369572849944234 0.380301019 0.25801693800000003 Calling exit ...