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.5-master/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-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.001709/0.001709, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001983/0.001983, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.356/1.356, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.1443/0.1443, allocations: 2.945 MB / 293 MB, free: 3.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.83 kB / 354.2 MB, free: 4.047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09157/0.09287, allocations: 50.34 MB / 404.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002813/0.09572, allocations: 1.546 MB / 406.1 MB, free: 104 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.09743, allocations: 1.241 MB / 407.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.09751, allocations: 4 kB / 407.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.09779, allocations: 35.84 kB / 407.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.869e-05/0.09792, allocations: 15.92 kB / 407.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.09823, allocations: 75.86 kB / 407.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.09836, allocations: 67.78 kB / 407.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.09841, allocations: 11.98 kB / 407.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.09847, allocations: 19.92 kB / 407.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.09861, allocations: 19.92 kB / 407.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.09863, allocations: 4 kB / 407.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.0988, allocations: 103.8 kB / 407.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.09886, allocations: 15.92 kB / 407.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.497e-05/0.09891, allocations: 19.92 kB / 407.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.09911, allocations: 116 kB / 407.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.09912, allocations: 0 / 407.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.09913, allocations: 4 kB / 407.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.371e-06/0.09914, allocations: 3.938 kB / 407.8 MB, free: 14.34 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.0004502/0.09959, allocations: 393.1 kB / 408.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.09964, allocations: 15.83 kB / 408.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.09969, allocations: 8.844 kB / 408.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.09988, allocations: 184.3 kB / 408.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.09989, allocations: 384 / 408.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.09991, allocations: 384 / 408.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1001, allocations: 69.92 kB / 408.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1001, allocations: 4 kB / 408.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1001, allocations: 4 kB / 408.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1001, allocations: 0 / 408.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.571e-05/0.1002, allocations: 31.92 kB / 408.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1004, allocations: 177.5 kB / 408.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.62e-05/0.1005, allocations: 46.56 kB / 408.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.1005, allocations: 40.89 kB / 408.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.1005, allocations: 8 kB / 408.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.1007, allocations: 105 kB / 408.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.1007, allocations: 0 / 408.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003337/0.1011, allocations: 187.2 kB / 409.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.1011, allocations: 89.09 kB / 409.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1013, allocations: 117.8 kB / 409.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1013, allocations: 29.7 kB / 409.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.1013, allocations: 88.14 kB / 409.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1014, allocations: 23.88 kB / 409.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.1014, allocations: 21.72 kB / 409.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1015, allocations: 318.8 kB / 409.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/0.1016, allocations: 24 kB / 409.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.961e-05/0.1017, allocations: 27.98 kB / 409.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.1018, allocations: 124.6 kB / 409.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1018, allocations: 0 / 409.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002071/0.102, allocations: 163.2 kB / 410.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.102, allocations: 37.7 kB / 410.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1021, allocations: 0 / 410.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.1021, allocations: 7.938 kB / 410.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.134e-05/0.1022, allocations: 7.984 kB / 410.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1022, allocations: 4 kB / 410.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/0.1022, allocations: 11.98 kB / 410.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1023, allocations: 4 kB / 410.1 MB, free: 11.74 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.0001179/0.1024, allocations: 157.9 kB / 410.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.1024, allocations: 7.938 kB / 410.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.907e-05/0.1024, allocations: 8.375 kB / 410.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1024, allocations: 4 kB / 410.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1024, allocations: 0 / 410.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1025, allocations: 0 / 410.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.1026, allocations: 185.5 kB / 410.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1026, allocations: 0 / 410.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.1026, allocations: 7.938 kB / 410.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1026, allocations: 0 / 410.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1027, allocations: 0 / 410.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1027, allocations: 3.984 kB / 410.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1027, allocations: 8 kB / 410.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.1029, allocations: 210.6 kB / 410.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.103, allocations: 84.98 kB / 410.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.103, allocations: 4 kB / 410.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.392e-05/0.1031, allocations: 4 kB / 410.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.1031, allocations: 3.984 kB / 410.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1031, allocations: 8 kB / 410.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.649e-05/0.1032, allocations: 99.2 kB / 410.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1032, allocations: 4 kB / 410.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1034, allocations: 36 kB / 410.9 MB, free: 10.82 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.0006022/0.104, allocations: 276.5 kB / 411.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.1043, allocations: 163.3 kB / 411.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1043, allocations: 0 / 411.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1044, allocations: 127.3 kB / 411.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.1046, allocations: 4 kB / 411.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.105, allocations: 209.4 kB / 411.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1052, allocations: 0.6922 MB / 412.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.428e-05/0.1053, allocations: 4 kB / 412.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.1053, allocations: 7.438 kB / 412.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1053, allocations: 4 kB / 412.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of Templates: time 0.003855/0.1091, allocations: 1.432 MB / 413.8 MB, free: 7.914 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)