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.001396/0.001396, allocations: 100.1 kB / 15.88 MB, free: 8 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.001322/0.001322, allocations: 197.8 kB / 16.79 MB, free: 6.828 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.291/1.291, allocations: 222.9 MB / 240.5 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1037/0.1037, allocations: 2.941 MB / 293.6 MB, free: 3.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.89 kB / 354.7 MB, free: 4.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0782/0.0795, allocations: 50.33 MB / 405 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002666/0.0822, allocations: 1.554 MB / 406.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.08403, allocations: 1.253 MB / 407.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.0841, allocations: 4 kB / 407.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.08437, allocations: 35.84 kB / 407.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.53e-05/0.08447, allocations: 27.84 kB / 407.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.0847, allocations: 67.73 kB / 407.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.476e-05/0.08478, allocations: 43.92 kB / 408 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.08483, allocations: 8 kB / 408 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.695e-05/0.08489, allocations: 31.84 kB / 408 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.08503, allocations: 15.92 kB / 408 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.08505, allocations: 3.938 kB / 408 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.08521, allocations: 99.84 kB / 408.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.08528, allocations: 15.98 kB / 408.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.08533, allocations: 15.88 kB / 408.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.08548, allocations: 80.11 kB / 408.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.08549, allocations: 0 / 408.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.0855, allocations: 4 kB / 408.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.0855, allocations: 0 / 408.2 MB, free: 15.25 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.0004275/0.08594, allocations: 397.1 kB / 408.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.08597, allocations: 8.031 kB / 408.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.08602, allocations: 4.938 kB / 408.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.0862, allocations: 192.1 kB / 408.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.08622, allocations: 384 / 408.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.08624, allocations: 4.375 kB / 408.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.08637, allocations: 65.92 kB / 408.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.08639, allocations: 8 kB / 408.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.08641, allocations: 0 / 408.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.08642, allocations: 0 / 408.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.966e-05/0.08649, allocations: 31.98 kB / 408.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.08666, allocations: 169.6 kB / 409.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.08675, allocations: 50.56 kB / 409.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.08682, allocations: 36.86 kB / 409.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.08684, allocations: 7.938 kB / 409.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.08701, allocations: 113.1 kB / 409.3 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.08703, allocations: 0 / 409.3 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003354/0.08737, allocations: 183.3 kB / 409.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.08743, allocations: 81.05 kB / 409.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.08753, allocations: 129.7 kB / 409.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.08755, allocations: 33.7 kB / 409.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.0876, allocations: 80.14 kB / 409.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.08764, allocations: 31.8 kB / 409.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.08768, allocations: 25.7 kB / 409.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.08778, allocations: 314.8 kB / 410.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.08784, allocations: 23.98 kB / 410.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.81e-05/0.08789, allocations: 31.98 kB / 410.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.08801, allocations: 112.2 kB / 410.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.08802, allocations: 4 kB / 410.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002133/0.08824, allocations: 171.1 kB / 410.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.08828, allocations: 37.64 kB / 410.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.08829, allocations: 0 / 410.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.0883, allocations: 4.469 kB / 410.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.069e-05/0.08837, allocations: 7.984 kB / 410.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.08838, allocations: 0 / 410.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.839e-05/0.08844, allocations: 4 kB / 410.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.08846, allocations: 4 kB / 410.5 MB, free: 12.65 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.0001088/0.08857, allocations: 162.1 kB / 410.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.0886, allocations: 11.84 kB / 410.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.825e-05/0.08863, allocations: 12.52 kB / 410.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.08864, allocations: 3.984 kB / 410.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.08864, allocations: 0 / 410.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.08865, allocations: 0 / 410.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.08878, allocations: 185.6 kB / 410.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.08879, allocations: 0 / 410.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.08882, allocations: 7.938 kB / 410.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.08882, allocations: 0 / 410.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.08884, allocations: 4 kB / 410.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.08885, allocations: 0 / 410.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.08885, allocations: 0 / 410.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.08912, allocations: 214.9 kB / 411.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.08917, allocations: 88.89 kB / 411.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.0892, allocations: 8 kB / 411.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.341e-05/0.08926, allocations: 4 kB / 411.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.08929, allocations: 0 / 411.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.08932, allocations: 7.984 kB / 411.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.695e-05/0.08938, allocations: 95.28 kB / 411.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.08939, allocations: 7.938 kB / 411.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00024/0.08963, allocations: 39.98 kB / 411.4 MB, free: 11.71 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.000597/0.09024, allocations: 272.6 kB / 411.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.09047, allocations: 159.4 kB / 411.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.09048, allocations: 0 / 411.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.09059, allocations: 119.4 kB / 411.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.09078, allocations: 19.88 kB / 411.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.09112, allocations: 204.9 kB / 412.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.09135, allocations: 0.6848 MB / 412.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.09138, allocations: 11.44 kB / 412.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.09138, allocations: 0 / 412.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Templates: time 0.002977/0.09436, allocations: 1.45 MB / 414.3 MB, free: 8.785 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)