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.001116/0.001116, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008235/0.008235, allocations: 169 kB / 16.26 MB, free: 6.66 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1465/0.1465, allocations: 2.958 MB / 294.4 MB, free: 3.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.000289, allocations: 8 kB / 356.5 MB, free: 3.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/0.09622, allocations: 51.35 MB / 407.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.001635/0.0979, allocations: 1.204 MB / 409 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.09964, allocations: 1.249 MB / 410.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-05/0.0997, allocations: 4 kB / 410.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.09996, allocations: 31.86 kB / 410.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.275e-05/0.1, allocations: 19.91 kB / 410.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.1003, allocations: 55.89 kB / 410.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.933e-05/0.1004, allocations: 51.89 kB / 410.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.1004, allocations: 11.98 kB / 410.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.378e-05/0.1005, allocations: 31.73 kB / 410.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1006, allocations: 23.92 kB / 410.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.1006, allocations: 0 / 410.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1008, allocations: 99.84 kB / 410.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.1008, allocations: 11.98 kB / 410.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.1009, allocations: 45.58 kB / 410.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.1011, allocations: 119.9 kB / 410.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1011, allocations: 0 / 410.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1011, allocations: 0 / 410.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.1011, allocations: 4 kB / 410.8 MB, free: 12.98 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.0003851/0.1015, allocations: 385.1 kB / 411.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1015, allocations: 12.03 kB / 411.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.1016, allocations: 0.9375 kB / 411.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.1018, allocations: 188.2 kB / 411.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1018, allocations: 4.375 kB / 411.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.1018, allocations: 384 / 411.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.102, allocations: 65.98 kB / 411.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.102, allocations: 0 / 411.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.102, allocations: 4 kB / 411.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.102, allocations: 0 / 411.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.019e-05/0.1021, allocations: 35.92 kB / 411.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.1023, allocations: 169.6 kB / 411.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.064e-05/0.1024, allocations: 50.52 kB / 411.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.1024, allocations: 40.89 kB / 411.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.1025, allocations: 0 / 411.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.1026, allocations: 124.9 kB / 411.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1027, allocations: 0 / 411.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003123/0.103, allocations: 187.4 kB / 412 MB, free: 11.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.103, allocations: 85.11 kB / 412.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1031, allocations: 121.8 kB / 412.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1032, allocations: 25.7 kB / 412.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.1032, allocations: 88.14 kB / 412.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.1032, allocations: 20.03 kB / 412.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.1033, allocations: 21.7 kB / 412.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.1034, allocations: 314.8 kB / 412.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.43e-05/0.1034, allocations: 27.98 kB / 412.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.749e-05/0.1035, allocations: 31.92 kB / 412.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.1036, allocations: 120.2 kB / 412.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1036, allocations: 0 / 412.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002129/0.1038, allocations: 163.2 kB / 413 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.1039, allocations: 39.25 kB / 413.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1039, allocations: 0 / 413.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1039, allocations: 4 kB / 413.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.104, allocations: 7.938 kB / 413.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.104, allocations: 0 / 413.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.097e-05/0.104, allocations: 7.984 kB / 413.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.1041, allocations: 4 kB / 413.1 MB, free: 10.41 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.0001063/0.1042, allocations: 151.5 kB / 413.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.1042, allocations: 15.84 kB / 413.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.635e-05/0.1042, allocations: 8.312 kB / 413.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1042, allocations: 4 kB / 413.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1042, allocations: 0 / 413.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1043, allocations: 0 / 413.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.1044, allocations: 177.8 kB / 413.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1044, allocations: 0 / 413.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.1044, allocations: 7.938 kB / 413.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1044, allocations: 3.984 kB / 413.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1044, allocations: 8 kB / 413.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1044, allocations: 0 / 413.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1045, allocations: 0 / 413.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.1047, allocations: 214.7 kB / 413.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.1048, allocations: 104.8 kB / 413.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.1048, allocations: 4 kB / 413.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.14e-05/0.1049, allocations: 0 / 413.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.1049, allocations: 4 kB / 413.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1049, allocations: 7.984 kB / 413.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.359e-05/0.105, allocations: 95.28 kB / 413.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.105, allocations: 0 / 413.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1052, allocations: 43.98 kB / 413.9 MB, free: 9.465 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.0005783/0.1058, allocations: 256 kB / 414.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.1061, allocations: 163.4 kB / 414.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1061, allocations: 0 / 414.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.1062, allocations: 127.3 kB / 414.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.1064, allocations: 11.88 kB / 414.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.1068, allocations: 208.5 kB / 414.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.107, allocations: 0.6926 MB / 415.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.14e-05/0.1071, allocations: 0 / 415.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.1071, allocations: 11.44 kB / 415.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1071, allocations: 0 / 415.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of Templates: time 0.003771/0.1109, allocations: 1.375 MB / 416.7 MB, free: 6.621 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)