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-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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.0009224/0.0009225, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009889/0.0009888, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.317/1.317, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1212/0.1212, allocations: 2.942 MB / 295 MB, free: 3.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002725, allocations: 8 kB / 357.1 MB, free: 3.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07937/0.07966, allocations: 51.35 MB / 408.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.001611/0.08128, allocations: 1.215 MB / 409.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.08284, allocations: 1.249 MB / 410.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.08289, allocations: 0 / 410.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.08316, allocations: 27.92 kB / 411 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.645e-05/0.08325, allocations: 23.91 kB / 411 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.0835, allocations: 59.89 kB / 411.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.907e-05/0.08359, allocations: 55.83 kB / 411.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.306e-05/0.08363, allocations: 7.938 kB / 411.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.209e-05/0.08368, allocations: 19.92 kB / 411.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.08385, allocations: 23.86 kB / 411.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.08387, allocations: 0 / 411.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.08403, allocations: 95.91 kB / 411.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.08408, allocations: 15.98 kB / 411.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.08414, allocations: 45.58 kB / 411.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.08428, allocations: 80.09 kB / 411.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.0843, allocations: 3.938 kB / 411.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.0843, allocations: 3.938 kB / 411.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.08431, allocations: 4 kB / 411.4 MB, free: 13.02 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.0003623/0.08468, allocations: 381.1 kB / 411.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.08473, allocations: 8.031 kB / 411.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.08479, allocations: 4.938 kB / 411.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.08495, allocations: 188.2 kB / 412 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.08497, allocations: 4.375 kB / 412 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.08499, allocations: 4.375 kB / 412 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.08512, allocations: 61.98 kB / 412 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.249e-06/0.08513, allocations: 0 / 412 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.08516, allocations: 8 kB / 412 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.08516, allocations: 0 / 412 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.292e-05/0.08523, allocations: 27.92 kB / 412.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.0854, allocations: 173.6 kB / 412.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.083e-05/0.08548, allocations: 46.56 kB / 412.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.814e-05/0.08556, allocations: 52.83 kB / 412.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.08561, allocations: 7.984 kB / 412.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.08577, allocations: 104.9 kB / 412.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.08578, allocations: 0 / 412.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003129/0.0861, allocations: 199.4 kB / 412.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.08615, allocations: 77.11 kB / 412.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.814e-05/0.08625, allocations: 121.8 kB / 412.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.08628, allocations: 29.7 kB / 412.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.08632, allocations: 88.12 kB / 413 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.08636, allocations: 27.64 kB / 413 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.08639, allocations: 13.72 kB / 413 MB, free: 11.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.08654, allocations: 318.8 kB / 413.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.08659, allocations: 24 kB / 413.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.966e-05/0.08664, allocations: 27.98 kB / 413.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.08676, allocations: 120.2 kB / 413.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.08677, allocations: 4 kB / 413.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002046/0.08698, allocations: 163.7 kB / 413.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.08702, allocations: 33.7 kB / 413.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.08703, allocations: 3.938 kB / 413.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.08704, allocations: 3.938 kB / 413.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.366e-05/0.0871, allocations: 7.984 kB / 413.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.08711, allocations: 4 kB / 413.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.08718, allocations: 4 kB / 413.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.08719, allocations: 8.062 kB / 413.7 MB, free: 10.44 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.0001172/0.08732, allocations: 157.2 kB / 413.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.08736, allocations: 11.84 kB / 413.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.0874, allocations: 4.375 kB / 413.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.08741, allocations: 4 kB / 413.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.08742, allocations: 0 / 413.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.08742, allocations: 0 / 413.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.08755, allocations: 181.6 kB / 414.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.08756, allocations: 0 / 414.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.08759, allocations: 7.938 kB / 414.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.08759, allocations: 0 / 414.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.08761, allocations: 4 kB / 414.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.08762, allocations: 11.92 kB / 414.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.08763, allocations: 0 / 414.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.08789, allocations: 210.6 kB / 414.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.08794, allocations: 92.89 kB / 414.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.08797, allocations: 4 kB / 414.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.08803, allocations: 7.984 kB / 414.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.08806, allocations: 3.984 kB / 414.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.08808, allocations: 12 kB / 414.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.281e-05/0.08814, allocations: 95.27 kB / 414.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08815, allocations: 0 / 414.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.08842, allocations: 36 kB / 414.5 MB, free: 9.508 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.0005718/0.089, allocations: 267.5 kB / 414.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.08927, allocations: 171.2 kB / 415 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.08928, allocations: 0 / 415 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.913e-05/0.08939, allocations: 119.4 kB / 415.1 MB, free: 9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.08958, allocations: 19.92 kB / 415.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.0899, allocations: 198.4 kB / 415.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.09015, allocations: 0.6887 MB / 416 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.09019, allocations: 11.44 kB / 416 MB, free: 8.023 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.0902, allocations: 4 kB / 416 MB, free: 8.02 MB / 350.1 MB Notification: Performance of Templates: time 0.002961/0.09316, allocations: 1.449 MB / 417.4 MB, free: 6.582 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)