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.001862/0.001862, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001962/0.001962, allocations: 191.7 kB / 16.13 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1327/0.1327, allocations: 2.933 MB / 292.9 MB, free: 3.145 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.91 kB / 354 MB, free: 4.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1064, allocations: 50.34 MB / 404.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.003192/0.1097, allocations: 1.547 MB / 405.9 MB, free: 316 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1116, allocations: 1.264 MB / 407.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-05/0.1117, allocations: 0 / 407.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.112, allocations: 27.92 kB / 407.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.627e-05/0.1122, allocations: 23.86 kB / 407.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.1125, allocations: 55.94 kB / 407.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1126, allocations: 55.83 kB / 407.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.1126, allocations: 8 kB / 407.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.488e-05/0.1127, allocations: 23.81 kB / 407.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.1128, allocations: 15.92 kB / 407.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1129, allocations: 4 kB / 407.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.1131, allocations: 107.8 kB / 407.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.1131, allocations: 7.938 kB / 407.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.1132, allocations: 23.86 kB / 407.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.1134, allocations: 119.9 kB / 407.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1134, allocations: 0 / 407.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1134, allocations: 0 / 407.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1134, allocations: 4 kB / 407.6 MB, free: 14.57 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.0004895/0.1139, allocations: 393.1 kB / 408 MB, free: 14.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.114, allocations: 12.03 kB / 408 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.114, allocations: 8.844 kB / 408 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.1142, allocations: 180.3 kB / 408.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1142, allocations: 4.375 kB / 408.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.1143, allocations: 384 / 408.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1144, allocations: 69.92 kB / 408.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1144, allocations: 0 / 408.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1144, allocations: 4 kB / 408.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.1145, allocations: 4 kB / 408.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.175e-05/0.1145, allocations: 31.92 kB / 408.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.1147, allocations: 173.5 kB / 408.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.94e-05/0.1148, allocations: 50.56 kB / 408.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.577e-05/0.1149, allocations: 40.89 kB / 408.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.1149, allocations: 0 / 408.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.1152, allocations: 117 kB / 408.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.1152, allocations: 0 / 408.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000344/0.1155, allocations: 191.4 kB / 408.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.1156, allocations: 85.11 kB / 408.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.1157, allocations: 117.8 kB / 409.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1157, allocations: 29.64 kB / 409.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.1157, allocations: 88.14 kB / 409.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.1158, allocations: 23.73 kB / 409.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.1158, allocations: 17.72 kB / 409.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.116, allocations: 322.8 kB / 409.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.918e-05/0.116, allocations: 28.36 kB / 409.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.291e-05/0.1161, allocations: 27.94 kB / 409.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1162, allocations: 124.2 kB / 409.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1162, allocations: 0 / 409.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002185/0.1164, allocations: 163.2 kB / 409.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.1165, allocations: 37.69 kB / 409.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1165, allocations: 4 kB / 409.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.529e-05/0.1166, allocations: 0 / 409.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.1166, allocations: 4 kB / 409.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1167, allocations: 0 / 409.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.527e-05/0.1167, allocations: 7.906 kB / 409.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.1167, allocations: 8 kB / 409.9 MB, free: 11.97 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 (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.0001223/0.1169, allocations: 151.5 kB / 410.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.1169, allocations: 7.938 kB / 410.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.856e-05/0.1169, allocations: 8.312 kB / 410.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1169, allocations: 4 kB / 410.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.117, allocations: 4 kB / 410.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.117, allocations: 3.984 kB / 410.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.1171, allocations: 181.5 kB / 410.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1171, allocations: 0 / 410.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.1171, allocations: 7.875 kB / 410.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1171, allocations: 4 kB / 410.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1172, allocations: 3.984 kB / 410.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1172, allocations: 0 / 410.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1172, allocations: 0 / 410.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.1174, allocations: 214.7 kB / 410.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.1175, allocations: 88.98 kB / 410.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.1175, allocations: 4.188 kB / 410.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.833e-05/0.1176, allocations: 96 / 410.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1176, allocations: 15.91 kB / 410.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.1176, allocations: 4 kB / 410.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.368e-05/0.1177, allocations: 99.27 kB / 410.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1177, allocations: 0 / 410.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.118, allocations: 40 kB / 410.7 MB, free: 11.04 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 (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.000691/0.1187, allocations: 263.2 kB / 411 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.1189, allocations: 163.4 kB / 411.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1189, allocations: 0 / 411.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.119, allocations: 123.4 kB / 411.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.1193, allocations: 11.92 kB / 411.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.1197, allocations: 207.1 kB / 411.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.1199, allocations: 0.6965 MB / 412.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.959e-05/0.12, allocations: 0 / 412.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.12, allocations: 15.42 kB / 412.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.12, allocations: 0 / 412.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of Templates: time 0.004628/0.1247, allocations: 1.376 MB / 413.6 MB, free: 8.188 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)