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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001238, allocations: 91.92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.2283/0.2283, allocations: 2.953 MB / 294 MB, free: 3.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 8 kB / 355.9 MB, free: 3.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1343, allocations: 51.35 MB / 407.2 MB, free: 312 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.001991/0.1364, allocations: 1.196 MB / 408.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.1382, allocations: 1.175 MB / 409.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.196e-05/0.1383, allocations: 8 kB / 409.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.1386, allocations: 31.84 kB / 409.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.677e-05/0.1387, allocations: 23.92 kB / 409.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.139, allocations: 55.88 kB / 409.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.116e-05/0.1391, allocations: 47.84 kB / 409.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.1391, allocations: 3.938 kB / 409.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.4e-05/0.1392, allocations: 27.91 kB / 409.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1394, allocations: 19.88 kB / 409.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1394, allocations: 8 kB / 409.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.1396, allocations: 75.92 kB / 409.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.1396, allocations: 23.91 kB / 409.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.1397, allocations: 29.7 kB / 409.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.1399, allocations: 88.03 kB / 410 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1399, allocations: 0 / 410 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1399, allocations: 0 / 410 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1399, allocations: 0 / 410 MB, free: 13.48 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.0005867/0.1405, allocations: 384.9 kB / 410.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1405, allocations: 12.03 kB / 410.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.1406, allocations: 8 kB / 410.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.1409, allocations: 182.8 kB / 410.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1409, allocations: 7.953 kB / 410.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.1409, allocations: 0 / 410.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.1411, allocations: 61.67 kB / 410.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1411, allocations: 0 / 410.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1411, allocations: 3.984 kB / 410.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1411, allocations: 0 / 410.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.461e-05/0.1412, allocations: 31.98 kB / 410.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.1415, allocations: 173.6 kB / 410.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.518e-05/0.1416, allocations: 58.45 kB / 410.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/0.1417, allocations: 40.89 kB / 411 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.1417, allocations: 3.938 kB / 411 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.1419, allocations: 105.2 kB / 411.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.1419, allocations: 0 / 411.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003744/0.1423, allocations: 195.2 kB / 411.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.1424, allocations: 81.09 kB / 411.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1425, allocations: 121.8 kB / 411.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1425, allocations: 29.7 kB / 411.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.1426, allocations: 80.52 kB / 411.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.1426, allocations: 23.73 kB / 411.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.1426, allocations: 0 / 411.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1428, allocations: 318.8 kB / 411.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.202e-05/0.1428, allocations: 35.92 kB / 411.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.819e-05/0.1429, allocations: 27.98 kB / 412 MB, free: 11.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.546e-05/0.1429, allocations: 53.61 kB / 412 MB, free: 11.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1429, allocations: 0 / 412 MB, free: 11.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002076/0.1432, allocations: 167.2 kB / 412.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.1432, allocations: 37.7 kB / 412.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1432, allocations: 0 / 412.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1432, allocations: 0 / 412.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.581e-05/0.1433, allocations: 7.984 kB / 412.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1433, allocations: 0 / 412.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.848e-05/0.1434, allocations: 8 kB / 412.2 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1434, allocations: 4 kB / 412.2 MB, free: 11 MB / 350.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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.1436, allocations: 151.5 kB / 412.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.1436, allocations: 15.8 kB / 412.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.1436, allocations: 8.375 kB / 412.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1436, allocations: 0 / 412.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1436, allocations: 0 / 412.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1436, allocations: 0 / 412.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.1439, allocations: 181.6 kB / 412.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1439, allocations: 0 / 412.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.912e-05/0.1439, allocations: 8 kB / 412.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1439, allocations: 3.953 kB / 412.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.144, allocations: 11.98 kB / 412.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.144, allocations: 0 / 412.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.144, allocations: 3.984 kB / 412.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.1443, allocations: 202.9 kB / 412.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.1444, allocations: 85.05 kB / 412.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.1444, allocations: 15.95 kB / 412.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.098e-05/0.1444, allocations: 4.094 kB / 412.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.1445, allocations: 11.92 kB / 412.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.1445, allocations: 4 kB / 412.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1447, allocations: 99.2 kB / 413 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1447, allocations: 0 / 413 MB, free: 10.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.1449, allocations: 40 kB / 413.1 MB, free: 10.06 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008264/0.1458, allocations: 253.2 kB / 413.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002967/0.1461, allocations: 159.4 kB / 413.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1461, allocations: 4 kB / 413.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.1462, allocations: 123.4 kB / 413.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.1465, allocations: 4 kB / 413.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.147, allocations: 208.6 kB / 413.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1473, allocations: 0.6967 MB / 414.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.782e-05/0.1473, allocations: 4 kB / 414.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.1473, allocations: 7.438 kB / 414.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1474, allocations: 0 / 414.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of Templates: time 0.004476/0.1518, allocations: 1.349 MB / 415.9 MB, free: 7.246 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.MATTest.makefile (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)