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.3/package.mo", uses=false) Using package ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/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.001178/0.001178, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001371/0.001371, allocations: 177.3 kB / 15.94 MB, free: 228 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.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/package.mo): time 0.1591/0.1591, allocations: 2.944 MB / 293.9 MB, free: 3.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003234, allocations: 8 kB / 355.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.118, allocations: 51.34 MB / 407.1 MB, free: 328 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002039/0.1201, allocations: 1.188 MB / 408.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.122, allocations: 1.183 MB / 409.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.1221, allocations: 0 / 409.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.1224, allocations: 23.92 kB / 409.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.1225, allocations: 31.83 kB / 409.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.1229, allocations: 58.5 kB / 409.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.064e-05/0.123, allocations: 31.95 kB / 409.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.123, allocations: 4 kB / 409.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.1231, allocations: 19.92 kB / 409.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1233, allocations: 27.84 kB / 409.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1233, allocations: 4 kB / 409.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.1235, allocations: 75.86 kB / 409.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.1235, allocations: 12 kB / 409.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.1236, allocations: 37.62 kB / 409.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1237, allocations: 100 kB / 409.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1238, allocations: 4 kB / 409.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1238, allocations: 0 / 409.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1238, allocations: 0 / 409.9 MB, free: 13.51 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.0005273/0.1243, allocations: 404.8 kB / 410.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1244, allocations: 8.031 kB / 410.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.1244, allocations: 7.906 kB / 410.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.1246, allocations: 194.8 kB / 410.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1247, allocations: 0 / 410.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.1247, allocations: 4 kB / 410.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.1248, allocations: 69.61 kB / 410.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1248, allocations: 0 / 410.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1249, allocations: 0 / 410.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1249, allocations: 0 / 410.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.418e-05/0.125, allocations: 31.98 kB / 410.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.1252, allocations: 181.6 kB / 410.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.008e-05/0.1253, allocations: 54.52 kB / 410.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.1253, allocations: 0 / 410.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.1255, allocations: 117.1 kB / 410.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.1255, allocations: 0 / 410.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004005/0.1259, allocations: 268.8 kB / 411.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.126, allocations: 81.11 kB / 411.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1261, allocations: 137.8 kB / 411.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1261, allocations: 33.7 kB / 411.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.1262, allocations: 84.14 kB / 411.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.1262, allocations: 27.66 kB / 411.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.1263, allocations: 0 / 411.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1264, allocations: 322.8 kB / 411.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-05/0.1264, allocations: 27.98 kB / 411.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.1265, allocations: 27.97 kB / 411.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.962e-05/0.1265, allocations: 53.7 kB / 412 MB, free: 11.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1266, allocations: 0 / 412 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002074/0.1268, allocations: 167.2 kB / 412.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.1268, allocations: 43.88 kB / 412.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1268, allocations: 4 kB / 412.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1269, allocations: 4 kB / 412.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.1269, allocations: 8 kB / 412.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1269, allocations: 3.938 kB / 412.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.534e-05/0.127, allocations: 11.92 kB / 412.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.127, allocations: 4 kB / 412.2 MB, free: 10.9 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.0001296/0.1272, allocations: 154.2 kB / 412.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.1272, allocations: 11.86 kB / 412.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.1272, allocations: 12.38 kB / 412.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1272, allocations: 4 kB / 412.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1273, allocations: 0 / 412.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1273, allocations: 0 / 412.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.1274, allocations: 193.5 kB / 412.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1274, allocations: 0 / 412.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/0.1275, allocations: 0 / 412.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.1275, allocations: 7.953 kB / 412.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1275, allocations: 0 / 412.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1275, allocations: 0 / 412.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1275, allocations: 0 / 412.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.1278, allocations: 218.6 kB / 412.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.1278, allocations: 85.09 kB / 412.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1279, allocations: 7.953 kB / 412.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.257e-05/0.1279, allocations: 4 kB / 412.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.128, allocations: 11.98 kB / 412.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.128, allocations: 4 kB / 412.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.422e-05/0.1281, allocations: 107.1 kB / 413 MB, free: 9.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1281, allocations: 0 / 413 MB, free: 9.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1283, allocations: 51.89 kB / 413.1 MB, free: 9.941 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.0006228/0.129, allocations: 251.8 kB / 413.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.1292, allocations: 163.2 kB / 413.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1292, allocations: 4 kB / 413.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.1293, allocations: 123.4 kB / 413.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.1295, allocations: 8 kB / 413.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.1299, allocations: 197.3 kB / 413.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.1302, allocations: 0.6952 MB / 414.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.1302, allocations: 12.16 kB / 414.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.1302, allocations: 15.44 kB / 414.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1302, allocations: 0 / 414.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of Templates: time 0.0041/0.1343, allocations: 1.501 MB / 416 MB, free: 6.957 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.MATTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: